X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fcron.d%2Fian;h=53fbf3fda07d6139298daf550304529918876d0c;hb=42731222d4bf78b3b0f1b4d16f5fad2b010b51a1;hp=343c25bb5f4d22cd72ad8ac41c7d14129d949564;hpb=88d40e435fe7d525e033558101f0c0a8101c27b2;p=distro-setup diff --git a/filesystem/etc/cron.d/ian b/filesystem/etc/cron.d/ian index 343c25b..53fbf3f 100644 --- a/filesystem/etc/cron.d/ian +++ b/filesystem/etc/cron.d/ian @@ -1,2 +1,8 @@ SHELL=/bin/bash -*/10 * * * * iank /a/exe/rootsshsync 2>&1 | /usr/local/bin/log-once -15 rootsshsync \ No newline at end of file +*/10 * * * * iank /a/exe/rootsshsync 2>&1 | /usr/local/bin/log-once -15 rootsshsync +# 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