LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   set cronjob environment (https://www.linuxquestions.org/questions/linux-software-2/set-cronjob-environment-284411/)

donhare 01-31-2005 06:51 AM

set cronjob environment
 
Hi,

i have a cronjob running which executes a script containing ant-jobs. Obviously, the script runs smoothly, but strangely enough, as a result, nothing has changed (script should initialize certain values within a JBoss-hosted application).

Running the script as root delivers the proper result.

My suspicion is that the path / environment is not set correctly through the cron job. May that be the cause? How can i set certain environment parameters for a cronjob?

Thanks beforehand!


All times are GMT -5. The time now is 06:09 AM.