Cron is an excellent utility tool that helps to schedule and run commands or scripts in UNIX based systems. Most people use cron to run periodic jobs at fixes times or intervals.
Monitoring cron jobs are tricky because there is no built-in mechanism in the system that you can use to notify you if they failed.
One way to check the
grep the logs.
All system activities are logged in
/var/log/syslog file. If you want to filter only cron logs, then you can use a simple
grep command as follows.
grep CRON /var/log/syslog
If you’re not a
root user, then you might need to run the same command
If checking logs every time is too much of a manual work then give Cronhub a try. It makes it a breeze to monitor all your