X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bin%2Firspy-update.sh;h=7088875cb8c3cfc5e7910308f83e104532bbba66;hb=f76b505d441ab2ffeed48a9e4e18915d84dd8ca5;hp=1c03eb7dd55262f55dd1edf38eb6b71f872316d7;hpb=a6f13bafa3bd1f02c09e60a8e8fff0f2118d4789;p=irspy-moved-to-github.git diff --git a/bin/irspy-update.sh b/bin/irspy-update.sh index 1c03eb7..7088875 100755 --- a/bin/irspy-update.sh +++ b/bin/irspy-update.sh @@ -1,14 +1,20 @@ #!/bin/sh +# Copyright (c) 2010 Index Data, http://www.indexdata.com # -# wrapper for irspy.pl +# irspy-update.sh - wrapper for irspy.pl # # run irspy with a smaller set of records in a loop to avoid out-of-memory # +# for a fast update, run this: +# $ env irspy_test=Quick ./irspy-update.sh home=/usr/local/src/git cd $home/irspy/bin || exit 2 logdir=../log lockfile=$logdir/irspy-update.lock +statusfile=$logdir/irspy-last-update.log + +# run a full update by default, use Quick for a fast update : ${irspy_test=Main} mkdir -p $logdir || exit2 @@ -33,4 +39,5 @@ do done rm -f $lockfile +date > $statusfile