Thanks, but I'm not launching it from my own crontab and don't think it's a good idea to mess with the system crontab. For some reason my brain drew a blank on the redirect pipe to add to my script to track the progress. Thanks to John and Gerald for pointing that out my Homer Simpson moment. ;')
-----Original Message----- From: Gerald Combs
Brian Densmore wrote:
How would I add logging to the script?
Most of my local crontab entries look something like:
30 5 * * * /path/to/script > /path/to/script.log 2>&1
Each time "script" runs, stdout and stderr are written to "script.log". _______________________________________________
On Wednesday 27 October 2004 11:17 am, Brian Densmore wrote:
Thanks, but I'm not launching it from my own crontab and don't think it's a good idea to mess with the system crontab.
On the contrary, if you're running it from /etc/cron.whatever, you are running it from the system crontab, as root.