From 9d5638298349b859d69c95a88d3e6270fced62f9 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Fri, 18 Oct 2019 13:40:20 -0400 Subject: [PATCH] better alerts --- filesystem/etc/cron.d/ian | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2