Update sample command-line comment for moved rules file.
[irspy-moved-to-github.git] / bin / irspy-update.sh
index 727a265..7088875 100755 (executable)
@@ -1,6 +1,7 @@
 #!/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
 #
@@ -11,6 +12,7 @@ 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}
@@ -37,4 +39,5 @@ do
 done
 
 rm -f $lockfile
+date > $statusfile