X-Git-Url: https://git.madduck.net/etc/offlineimap.git/blobdiff_plain/201712dd22f3f2e21bfd99589e69f72d4ade5444..901347ff646e78869a8e0c150484736ed1776eec:/.crontab.d/offlineimap diff --git a/.crontab.d/offlineimap b/.crontab.d/offlineimap index 3cdfc71..8d01b95 100644 --- a/.crontab.d/offlineimap +++ b/.crontab.d/offlineimap @@ -1,3 +1,2 @@ -*/30 * * * * sleep $((900 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -oq -38 */4 * * * sleep $((60 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -oqa logcheck -55 */8 * * * sleep $((300 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -oqa madduck.net-bulk +*/30 * * * * sleep $((900 * $RANDOM / 32768)) && ip r | grep -q via && [ -e $VARDIR/offlineimap/madduck.net.lock ] || offlineimap -u Quiet -o -a madduck.net +55 */8 * * * sleep $((300 * $RANDOM / 32768)) && ip r | grep -q via && [ -e $VARDIR/offlineimap/madduck.net_bulk.lock ] || offlineimap -u Quiet -o -a madduck.net_bulk