[CentOS] weird cron problem

Andreas Kuntzagk andreas.kuntzagk at mdc-berlin.de
Fri Nov 16 12:43:21 UTC 2007


> PATHS - everytime i have cron issues its a PATH problem. The cron env is 
> not the same as the user when logged in

Thanks, that's probably the cause. rsnapshot resides in /usr/local/bin
I changed the PATH in /etc/crontab now. Silly that I didn't see it.
So jobs in /etc/crontab are executed with the PATH in there, but jobs in
roots crontab are executed with the PATH set in .bashrc?

Andreas



More information about the CentOS mailing list