X-Git-Url: https://git.madduck.net/etc/offlineimap.git/blobdiff_plain/47ef6c45a569257fe228ac705b84d563182d91ce..40e7dafa71657f7b38555d02195ee00b324caa16:/.crontab.d/offlineimap?ds=inline diff --git a/.crontab.d/offlineimap b/.crontab.d/offlineimap index 18f5e91..8d01b95 100644 --- a/.crontab.d/offlineimap +++ b/.crontab.d/offlineimap @@ -1,2 +1,2 @@ -*/30 * * * * sleep $((900 * $RANDOM / 32768)) && ip r | grep -q via && offlineimap --quiet -o -a madduck.net -55 */8 * * * sleep $((300 * $RANDOM / 32768)) && ip r | grep -q via && offlineimap --quiet -o -a madduck.net_bulk +*/30 * * * * sleep $((900 * $RANDOM / 32768)) && ip r | grep -q via && [ -e $VARDIR/offlineimap/madduck.net.lock ] || offlineimap -u Quiet -o -a madduck.net +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