8 Oct
2004
8 Oct
'04
15:40
On Friday 08 October 2004 11:35 am, Ken Schneider wrote:
Another thing to remember when using cron is that there is little to no environment (path etc.) setup for the running user, you need to set that up in your script. It is always best to use the full path to any program/script that you use.
Good point, Ken. I got skewered on that one. I've gotten into the habit of checking out my crontab entries by creating one with "* * * * *" so that it runs my application every minute. That way I can see right away if it's working or not. Once I've gotten it working, of course, I replace the asterisks by the correct time setting. Paul