News for hackers. Stuff that matters.
Re:Get notified when a periodic task doesn't run by Cherian on Monday September 24, 2012 @09:45PM (#4568094)
I run this as a combination of monit timestamp checking and stdout to a file. Is there anything this does that I cannot do this without monit?

e.g.

[email protected]

1 23 * * * /home/cron/backup.sh 1> /backups/backup

and monit doing a

check file backup with path /backups/backup

if timestamp > 24 hours then alert

This way I am emailed when there is an error with the backup script, otherwise things continue as it is.

There are no comments on this comment yet.