Mainly add external monitoring of mail server
[distro-setup] / filesystem / etc / cron.d / ian
old mode 100755 (executable)
new mode 100644 (file)
index 65612f4..76dfa4e
@@ -1,2 +1,8 @@
 SHELL=/bin/bash
-*/10 * * * *   ian /a/exe/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 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