Reply To: hcicyclesavemsgs (3.8.1P -> 5.3)

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf hcicyclesavemsgs (3.8.1P -> 5.3) Reply To: hcicyclesavemsgs (3.8.1P -> 5.3)

#57961
Craig Weldy
Participant

    Traci.

       Another problem you may be running into is the nature of the cron.  When you login to a unix box as a user, it automatically runs a .profile that sets up paths and environment variables.  When cron runs however, it does not run the .profile for the user it is running as.

      So you could have cron run as the same user you login as and the path and environment variables will not necessaraly be the same.

       Just like Mike, I have all my cron jobs run a shell script.  In the shell script I setup and env variables or path’s I need to run the commands in the script.  This also allows me to make modifications to the script without having to mess with the cron.

    Craig Weldy
    Senior Interface Analyst
    Beacon Health System
    South Bend, In, 46615