[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Verbose CRON Logging



Hi,

I have some erronous cron jobs which result in error dumps in syslog file.

  # grep "Permission denied" /var/log/syslog
  May 23 07:07:01 alamut CRON[21520]: Permission denied
  May 23 08:07:01 alamut CRON[21563]: Permission denied
  May 23 09:07:01 alamut CRON[21620]: Permission denied
  May 23 10:07:01 alamut CRON[22768]: Permission denied
  ...
  May 24 20:07:01 alamut CRON[11292]: Permission denied
  May 24 21:07:01 alamut CRON[11404]: Permission denied
  May 26 09:07:01 alamut CRON[4046]: Permission denied

As can be seen from the timestamp values, job is scheduled to run per hour.
Actually, I can spot the erronous cron job by manually trying to execute every
script under /etc/cron.daily, but is there a more sensible way of doing this? Is
it possible to increase the verbosity of cron log messages in case of an error?
Should I stick with another cron alternative? What are your recommendations?


Regards.


Reply to: