X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fcron.d%2Fian;h=76dfa4e19bb3bbfd8cb305851147fd6826bbc13b;hb=7f759d320592e791a62cd0a966350e8c53ee0976;hp=35a69975730ef6e0edafb38c7880990ad95e1404;hpb=c578efcab3f35b96b1b3e4e7248f0fa24d815594;p=distro-setup diff --git a/filesystem/etc/cron.d/ian b/filesystem/etc/cron.d/ian index 35a6997..76dfa4e 100644 --- a/filesystem/etc/cron.d/ian +++ b/filesystem/etc/cron.d/ian @@ -1,5 +1,8 @@ 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 -2 * * * * iank /a/exe/check-remote-mailqs 2>&1 | /usr/local/bin/log-once check-remote-mailqs +* * * * * iank system-status |& log-once system-status +# If theres any logged errors we didnt handle in 4 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 +4