4 ms·
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. MAILTO=ema
by Cherian 14y ago
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.
MAILTO=email@ops.com
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.