env irspy_test=Quick ./irspy-update.sh
cd $home/irspy/bin || exit 2
logdir=../tmp
lockfile=../tmp/irspy-update.lock
-#test=Quick
-test=Main
+: ${irspy_test=Main}
if [ -f $lockfile ]; then
pid=`cat $lockfile`
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 $test -m 7,$i localhost:8018/IR-Explain---1 > $logfile 2>&1
+ 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
gzip -f $logfile
done