X-Git-Url: https://git.madduck.net/etc/offlineimap.git/blobdiff_plain/7f6aec793e90c72cb6699191e01ed412b6ceb3b7..bd99029e60ea5b8f5d1092faddd23a7ee32209dc:/.crontab.d/offlineimap diff --git a/.crontab.d/offlineimap b/.crontab.d/offlineimap index e335ef3..d4c8fa6 100644 --- a/.crontab.d/offlineimap +++ b/.crontab.d/offlineimap @@ -1,2 +1 @@ -*/30 * * * * sleep $((900 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap --quiet -o -a madduck.net -55 */8 * * * sleep $((300 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap --quiet -o -a madduck.net_bulk +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