summaryrefslogtreecommitdiffstats
path: root/misc/crontab
blob: 9ae2a71126cb0aaea38d59f8052970bcbf21eb3b (plain)
1
2
3
# sync IMAP store every 5min for offline use
*/5 * * * * test $(ps -eo etimes,args | grep offlineimap | grep -v grep | awk '{print $1}END{if(NR==0){print 0}}') -gt 300 && killall -9 offlineimap; offlineimap -q -u quiet
#*/45 * * * * ps aux | grep -v grep | grep -q maildir_watch.sh || ~/.mutt/maildir_watch.sh