X-Git-Url: https://git.madduck.net/etc/offlineimap.git/blobdiff_plain/19de196dc2f9d83406b4f237d551a318f4047434..7c0900182487367b083ce03452b521d3e7d87812:/.crontab.d/offlineimap diff --git a/.crontab.d/offlineimap b/.crontab.d/offlineimap index 09cee6a..4d7db65 100644 --- a/.crontab.d/offlineimap +++ b/.crontab.d/offlineimap @@ -1,2 +1,3 @@ -*/15 * * * * sleep $((900 * $RANDOM / 32768)) && nice -20 /usr/bin/offlineimap -o -38 * * * * sleep $((60 * $RANDOM / 32768)) && nice -20 /usr/bin/offlineimap -oa logcheck +*/30 * * * * sleep $((900 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -q -ou quiet +38 */4 * * * sleep $((60 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -q -ou quiet -a logcheck +55 */8 * * * sleep $((300 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -q -ou quiet -a madduck.net-bulk