X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fcron.d%2Fian;h=76dfa4e19bb3bbfd8cb305851147fd6826bbc13b;hb=32a1673064cfd9eaa165b4ea62fa416f02f3dfd2;hp=8327a1420638030020bf1193cd47a57df543134f;hpb=8c9f3c9c69a1f76d8ffba1343fc0ab308fb4661a;p=distro-setup diff --git a/filesystem/etc/cron.d/ian b/filesystem/etc/cron.d/ian old mode 100755 new mode 100644 index 8327a14..76dfa4e --- a/filesystem/etc/cron.d/ian +++ b/filesystem/etc/cron.d/ian @@ -1,2 +1,8 @@ SHELL=/bin/bash -*/10 * * * * ian /a/exe/rootsshsync 2>&1 | /usr/local/bin/log-once -15 +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 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