in reply to setting environment variable issue
Here's another option for setting environment variables: this time within the cron file.
Checking crontab(5), I find:
$ man 5 crontab ... EXAMPLE CRON FILE # use /bin/sh to run commands, no matter what /etc/passwd says SHELL=/bin/sh # mail any output to `paul', no matter whose crontab this is MAILTO=paul # # run five minutes after midnight, every day 5 0 * * * $HOME/bin/daily.job >> $HOME/tmp/out 2>&1 ...
-- Ken
|
---|