summaryrefslogtreecommitdiff
path: root/scripts/mail/mmm-cron
blob: 3c852fb739ce25648d9c5b6b14a9c4f318c1ac11 (plain)
1
2
3
4
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