From f96e367506173a7c9b3444753d6809707ebce93f Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 18 May 2011 07:46:36 +0200 Subject: [PATCH] make it quiet again --- .bin/offlineimap | 2 +- .crontab.d/offlineimap | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.5