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 11:15 AM. |