X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;ds=sidebyside;f=filesystem%2Fetc%2Fcron.d%2Fian;h=76ebe3bc9fb511944491c997ef626eae0cae5ac2;hb=4d0dc703ef2e62cd16ea84f27456f6f50f74baa3;hp=2874944e9a7a3dfcf65eaf940ee423ebef702e65;hpb=f6501ed8450080e799b9293a2b38f3381e791db4;p=distro-setup diff --git a/filesystem/etc/cron.d/ian b/filesystem/etc/cron.d/ian index 2874944..76ebe3b 100644 --- a/filesystem/etc/cron.d/ian +++ b/filesystem/etc/cron.d/ian @@ -1,4 +1,9 @@ SHELL=/bin/bash -*/10 * * * * iank /a/exe/rootsshsync 2>&1 | /usr/local/bin/log-once -15 rootsshsync +PATH=/usr/bin:/bin:/usr/local/bin:/a/exe +*/10 * * * * iank rootsshsync |& 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 +* * * * * iank system-status |& log-once system-status +2 * * * * iank check-remote-mailqs |& log-once check-remote-mailqs +# If theres any logged errors we didnt handle in 3 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 +3