Home » technology »

Where is the cron log and how to monitor cron jobs ?

Submitted by Vidhu on Jun 06 2015 Views: 2004 | Subscribe


In Ubuntu the cron logs files are located here /var/log/syslog

In CentOS the log file is

/var/log/cron

How to monitor and verify if my cron job is executing and what time. ?

Command : #tail -f /var/log/cron

How to direct the cron job output to a log file ?

30 * * * * /backup/backup.sh >> /var/log/db-backup.log


Tags: cron, linux cron

Get email updates. Virus Removal Tips, News, How to, Threat Alerts.

Leave a comment!