use the same weekday for all runs
[irspy-moved-to-github.git] / zebra / crontab
index 1e8b68c..d53a276 100644 (file)
@@ -1,3 +1,5 @@
-# $Id: crontab,v 1.3 2007-09-18 17:00:13 mike Exp $
+# Example crontab file for a weekly update cycle, testing 1/7 of the 
+# database every day. See also the script ../bin/irspy-update.sh 
+#
 # m h  dom mon dow   command
-0 1 * * * cd /home/mike/cvs/irspy/bin && YAZ_LOG=irspy ./setrlimit -v -a 500 -- perl -I ../lib irspy.pl -a -n 50 -t Main localhost:8018/IR-Explain---1
+0 1 * * * cd /home/mike/cvs/irspy/bin && YAZ_LOG=irspy ./setrlimit -v -a 500 -- perl -I ../lib irspy.pl -a -n 50 -t Main -m 7,`date '+%w'` localhost:8018/IR-Explain---1