From: Wolfram Schneider Date: Tue, 27 Apr 2010 10:46:34 +0000 (+0000) Subject: catch ctr-c before compressing the log X-Git-Tag: CPAN-v1.02~54^2~24 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=d5e4d0ef79fbbc4dee25ddca038e1eb55351f61b;p=irspy-moved-to-github.git catch ctr-c before compressing the log --- diff --git a/bin/irspy-update.sh b/bin/irspy-update.sh index 8c2554d..58e401d 100755 --- a/bin/irspy-update.sh +++ b/bin/irspy-update.sh @@ -25,6 +25,8 @@ for i in 0 1 2 3 4 5 6 do logfile=$logdir/irspy-mod-$i.log.$weekday YAZ_LOG=irspy,irspy_test,irspy_task nice -10 time perl -I../lib irspy.pl -n 50 -d -M 3500 -a -t $irspy_test -m 7,$i localhost:8018/IR-Explain---1 > $logfile 2>&1 + + sleep 1 # catch ctr-c before compressing the log gzip -f $logfile done