From: Wolfram Schneider Date: Thu, 15 Apr 2010 11:53:30 +0000 (+0000) Subject: rename update script to irspy-update.sh X-Git-Tag: CPAN-v1.02~54^2~77 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=f2639ec66dcbf6c5e8f0ef767ee453b0553b9087;p=irspy-moved-to-github.git rename update script to irspy-update.sh --- diff --git a/bin/irspy-update.sh b/bin/irspy-update.sh new file mode 100755 index 0000000..fea2758 --- /dev/null +++ b/bin/irspy-update.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# +# wrapper for irspy.pl +# +# run irspy with a smaller set of records in a loop to avoid out-of-memory +# + +home=/usr/local/src/git +cd $home/irspy/bin || exit 2 +logdir=../tmp + +for i in 0 1 2 3 4 5 6 +do + logfile=$logdir/irspy-mod-$i.log.`date '%w'` + YAZ_LOG=irspy,irspy_test nice -10 time perl -I../lib irspy.pl -n 50 -d -M 3500 -a -t Main -m 7,$i localhost:8018/IR-Explain---1 > $logfile 2>&1 + gzip -f $logfile +done + diff --git a/bin/irspy.sh b/bin/irspy.sh deleted file mode 100755 index fea2758..0000000 --- a/bin/irspy.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# -# wrapper for irspy.pl -# -# run irspy with a smaller set of records in a loop to avoid out-of-memory -# - -home=/usr/local/src/git -cd $home/irspy/bin || exit 2 -logdir=../tmp - -for i in 0 1 2 3 4 5 6 -do - logfile=$logdir/irspy-mod-$i.log.`date '%w'` - YAZ_LOG=irspy,irspy_test nice -10 time perl -I../lib irspy.pl -n 50 -d -M 3500 -a -t Main -m 7,$i localhost:8018/IR-Explain---1 > $logfile 2>&1 - gzip -f $logfile -done -