iankelling.org
/
git
/
distro-setup
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
410b30b
)
better alerts
author
Ian Kelling
<ian@iankelling.org>
Fri, 18 Oct 2019 17:40:20 +0000
(13:40 -0400)
committer
Ian Kelling
<ian@iankelling.org>
Fri, 18 Oct 2019 17:40:20 +0000
(13:40 -0400)
filesystem/etc/cron.d/ian
patch
|
blob
|
history
diff --git
a/filesystem/etc/cron.d/ian
b/filesystem/etc/cron.d/ian
index 35a69975730ef6e0edafb38c7880990ad95e1404..749884a2cef95b15cbfc28fbfad98ca9139599e1 100644
(file)
--- a/
filesystem/etc/cron.d/ian
+++ b/
filesystem/etc/cron.d/ian
@@
-3,3
+3,6
@@
SHELL=/bin/bash
# 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
# 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
\ No newline at end of file