X-Git-Url: https://git.madduck.net/etc/offlineimap.git/blobdiff_plain/165b88a3f5ec745613a32c9b569003138bafb46e..7ab076e9a34703804e9559bacb050342f3b65f6f:/.crontab.d/offlineimap diff --git a/.crontab.d/offlineimap b/.crontab.d/offlineimap index d04722c..907edc9 100644 --- a/.crontab.d/offlineimap +++ b/.crontab.d/offlineimap @@ -1,2 +1,2 @@ -*/15 * * * * sleep $((900 * $RANDOM / 32768)) && ip r | grep via && ionice -c3 nice -20 offlineimap -o -38 */4 * * * sleep $((60 * $RANDOM / 32768)) && ip r | grep via && ionice -c3 nice -20 offlineimap -oa logcheck +*/15 * * * * sleep $((900 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap +38 */4 * * * sleep $((60 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -a logcheck