X-Git-Url: https://git.madduck.net/etc/offlineimap.git/blobdiff_plain/53324a3187dd10f9cc2bd461abd10cfbbb2446cf..ac1e365a2011a804f8c2f948be4bfe6612d10e85:/.crontab.d/offlineimap?ds=inline diff --git a/.crontab.d/offlineimap b/.crontab.d/offlineimap index 1231ce5..cfbea97 100644 --- a/.crontab.d/offlineimap +++ b/.crontab.d/offlineimap @@ -1,2 +1,2 @@ -*/15 * * * * sleep $((900 * $RANDOM / 32768)) && /usr/bin/offlineimap -o -38 * * * * sleep $((60 * $RANDOM / 32768)) && /usr/bin/offlineimap -oa logcheck +*/15 * * * * sleep $((900 * $RANDOM / 32768)) && ip r | grep -q via && ionice -c3 nice -20 offlineimap -o +38 */4 * * * sleep $((60 * $RANDOM / 32768)) && ip r | grep -q via && ionice -c3 nice -20 offlineimap -oa logcheck