X-Git-Url: https://git.madduck.net/etc/offlineimap.git/blobdiff_plain/53324a3187dd10f9cc2bd461abd10cfbbb2446cf..88c8f257548ff4b61f1f9d6134652e9f3cfacf3d:/.crontab.d/offlineimap?ds=inline diff --git a/.crontab.d/offlineimap b/.crontab.d/offlineimap index 1231ce5..032e4f6 100644 --- a/.crontab.d/offlineimap +++ b/.crontab.d/offlineimap @@ -1,2 +1,3 @@ -*/15 * * * * sleep $((900 * $RANDOM / 32768)) && /usr/bin/offlineimap -o -38 * * * * sleep $((60 * $RANDOM / 32768)) && /usr/bin/offlineimap -oa logcheck +*/30 * * * * sleep $((900 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -ou quiet +38 */4 * * * sleep $((60 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -ou quiet -a logcheck +55 */8 * * * sleep $((300 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -ou quiet -a madduck.net-bulk