various fixes
[distro-setup] / machine_specific / treetowl / filesystem / etc / cron.d / treetowl
index 2b8b1a1b4108b3cb0f1ab3b8c4899c30eb8ba487..88ba2f57259cdc7eb1af22b7528a74a65a240adf 100755 (executable)
@@ -1,10 +1,14 @@
+# disabled for various reasons
+# */5 * * * * /a/bin/offlineimap_cronjob
+# */1 * * * * unison ~/.mpv ssh://htpc/.mpv
+# small-backpup:
 # runs every 10 minutes, every day 4 am, every sunday at 3 am
 # stored for 3 days, 2 months, and unlimited respectively
-#0 4 * * * x=$(/a/bin/small-backup --retry daily 2M 2>&1); [[ $? != 0 ]] && echo "$x"
-#0 3 * * sun echo weekly backup results:; /a/bin/small-backup --retry weekly
-#*/5 * * * * /a/bin/offlineimap_cronjob
-#*/1 * * * * . /a/bin/log-quiet/log-once-function; unison ~/.mpv ssh://htpc/.mpv -batch -prefer ~/.mpv -silent 2>&1 | log-once unison-mpv
-*/5 * * * * . /a/bin/dynamic-ip-update.sh
-MAILTO=""
-*/10 * * * * /a/bin/small-backup 10minutes 3D
-*/10 * * * * /a/exe/rootsshsync
+SHELL=/bin/bash
+0    4 * * * ian x=$(/a/exe/logq /a/bin/small-backup --retry daily 2M); [[ $? != 0 ]] && echo "$x"
+0    3 * * sun ian echo weekly backup results:; /a/bin/small-backup --retry weekly -batch -prefer ~/.mpv -silent 2>&1 | /a/exe/log-once unison-mpv
+*/5  * * * *   ian /a/bin/dynamic-ip-update.sh
+*/10 * * * *   ian /a/bin/small-backup 10minutes 3D 2>&1 | /a/exe/log-once small-backup-10min
+*/10 * * * *   ian /a/exe/rootsshsync
+# put things we don't want to send mail about below this:
+# MAILTO=""