summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-04-16 10:30:38 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-04-16 13:09:35 -0700
commit121c9f4619cbe5793bccc20460309671163ee497 (patch)
tree3e531f191202be7d18321d453024acf47c372eac /scripts
parent2deded7013ceb98335e3a0fc446f23a4bbf53de5 (diff)
downloaddotfiles-121c9f4619cbe5793bccc20460309671163ee497.tar.gz
spw/nnselect-generate-artlist: also disable notmuch cron job
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mail/mmm-cron5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/mail/mmm-cron b/scripts/mail/mmm-cron
new file mode 100755
index 00000000..3c852fb7
--- /dev/null
+++ b/scripts/mail/mmm-cron
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# 'notmuch new' exits non-zero if ~/.nomovemymail exists, but we don't want to
+# get mail from crond if that's the only reason for the failure.
+[ -e ~/.nomovemymail ] || exec chronic nice ionice -c 3 notmuch new