From: martin f. krafft Date: Wed, 18 May 2011 05:46:36 +0000 (+0200) Subject: make it quiet again X-Git-Url: https://git.madduck.net/etc/offlineimap.git/commitdiff_plain/f96e367506173a7c9b3444753d6809707ebce93f make it quiet again --- diff --git a/.bin/offlineimap b/.bin/offlineimap index f55fee5..7e439d4 100755 --- a/.bin/offlineimap +++ b/.bin/offlineimap @@ -12,7 +12,7 @@ if ! lockfile -0 -r0 -l 3600 "$LOCKFILE" 2>/dev/null; then fi if ! test -t 0; then - echo Renicing because we are not run interactively… >&2 + echo Renicing because we are not run interactively… renice 20 -p $$ >/dev/null ionice -c3 -p $$ fi diff --git a/.crontab.d/offlineimap b/.crontab.d/offlineimap index 032e4f6..4d7db65 100644 --- a/.crontab.d/offlineimap +++ b/.crontab.d/offlineimap @@ -1,3 +1,3 @@ -*/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 +*/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