From: Ian Kelling Date: Fri, 18 Oct 2019 17:40:20 +0000 (-0400) Subject: better alerts X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=commitdiff_plain;h=9d5638298349b859d69c95a88d3e6270fced62f9 better alerts --- diff --git a/filesystem/etc/cron.d/ian b/filesystem/etc/cron.d/ian index 35a6997..749884a 100644 --- a/filesystem/etc/cron.d/ian +++ b/filesystem/etc/cron.d/ian @@ -3,3 +3,6 @@ SHELL=/bin/bash # this goes into bash prompt, does in cron for more efficient shell * * * * * iank /a/exe/system-status 2>&1 | /usr/local/bin/log-once system-status 2 * * * * iank /a/exe/check-remote-mailqs 2>&1 | /usr/local/bin/log-once check-remote-mailqs +# If theres any logged errors we didnt handle in 5 days, maybe we accidentally missed them, +# so report if we did +4 9 * * 5 root find /var/local/cron-errors /home/iank/cron-errors -type f -mtime +5 \ No newline at end of file