From: Ian Kelling Date: Sun, 7 Jul 2024 00:59:52 +0000 (-0400) Subject: fix crontab X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=a41e3a3f67a1012941c931ec4517d0944459e6e9;p=distro-setup fix crontab --- diff --git a/filesystem/etc/cron.d/ian b/filesystem/etc/cron.d/ian index 9e9ca2f..64e338c 100644 --- a/filesystem/etc/cron.d/ian +++ b/filesystem/etc/cron.d/ian @@ -1,3 +1,8 @@ +# After a change, do conflink; cron-test +# +# Then after cron output saying the file was loaded without error, kill +# background job. + # field allowed values # ----- -------------- # minute 0–59 @@ -12,20 +17,23 @@ SHELL=/bin/bash # default is /usr/bin:/bin PATH=/sbin:/usr/sbin:/usr/bin:/bin:/usr/local/bin:/a/exe MAILTO=root -*/10 * * * * root rootsshsync |& log-once -15 rootsshsync + +*/10 * * * * root rootsshsync |& log-once -15 rootsshsync + # 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 /a/bin/ds/check-stale-alerts -4 10 * * 5 root /a/bin/ds/check-radicale +4 9 * * 5 root /a/bin/ds/check-stale-alerts +4 10 * * 5 root /a/bin/ds/check-radicale 4 15 * * 5 iank /a/bin/ds/mailclean 14 * * * * root /a/bin/ds/bk-backup |& log-once -24 bk-backup -0 7 * * * iank failmail myupgrade-iank -20 7 * * * root myupgrade |& log-once -1 myupgrade -20 5 * * * root prof-backup |& log-once -1 prof-backup +0 7 * * * iank failmail myupgrade-iank +20 7 * * * root myupgrade |& log-once -1 myupgrade +20 5 * * * root prof-backup |& log-once -1 prof-backup 19 * * * * root check-crypttab 4 20 * * 5 iank /usr/local/bin/check-lets-encrypt-ssl-settings 4 21 * * 5 iank /b/ds/auto-commit-changes /a /p -4 24 * * 5 iank failmail /b/ds/eggdrop-upgrade +4 23 * * 5 iank failmail /b/ds/eggdrop-upgrade + # avoid dnssec expirations. This is a hack, what we should # do instead is something like, sign only if expiration is # coming soon, and send an email notication, because this