> -----Original Message----- > Sent: Thursday, June 07, 2007 1:32 AM > > Tom Scrape wrote: > > Cron.log shows nothing: > > [EMAIL PROTECTED]:/var/log# cat cron.log |grep pflogsumm > > [EMAIL PROTECTED]:/var/log# > > Err... > > The program is not executed by cron but by run-parts (which is > executed by cron, if that matters, via /etc/crontab). > > Programms in /etc/cron.{daily,weekly,monthly,hourly} are executed > regularly via run-parts. Their name doesn't appear in the logs > since it's not cron that executes them. > > For testing purpose, try executing it standalone, and maybe add > debug output (echo "$(date) script started" >> /var/log/daily.log) > and inspect the log after the daily jobs have been run. >
Thanks for the clarification. Hadn't realized that. Is there a location (eg. log file) where run-parts activity can be found? Or is it rather just hit-and-miss debugging when trying to figure out a problem? For reference, the problem is fixed thanks to the previous suggestion, but I'm curious now as to the mechanisms behind this. Man pages enough? --T