Re:What does it take to run a web app with 5K – 10K users?
by rwbhn on Friday January 09, 2015 @10:00PM
(#8865718)
Monitor that the newest backup is less than N hours old.
[ Parent
| on HN ]
Re:What does it take to run a web app with 5K – 10K users?
by caw on Friday January 09, 2015 @11:29PM
(#8865918)
Alternatively, if you bother to have proper exit codes for your backup scripts, you could verify exit != 0, and alert on that.
I have cron on all of my systems email STDERR to me, STDOUT is redirected to the normal logs.
One you clean up your crons, you really only get email once a month or so when something breaks.
Re:What does it take to run a web app with 5K – 10K users?
by porker on Sunday January 11, 2015 @12:10PM
(#8870454)
Do you use something like http://habilis.net/cronic/ ?
Re:What does it take to run a web app with 5K – 10K users?
by caw on Monday January 12, 2015 @03:59PM
(#8876385)
Nope, just instead of this
0 1 * * * backup >/var/log/foo 2>&1
I do this 0 1 * * * backup >/var/log/foo
My errors are emailed to me via standard cron conventions. Normal logging is available for me if I care to look at it.