X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=zebra%2Fcrontab;h=671cece2b6797e82241974d86b80b7190b7cfbaa;hp=d53a276ef54c5c63e7e8e34819558fad85e031bd;hb=60436e590b4d51c98832cc9829fe2bcf07531b18;hpb=5789081812125b7381d817197b784a441cb3ebf1 diff --git a/zebra/crontab b/zebra/crontab index d53a276..671cece 100644 --- a/zebra/crontab +++ b/zebra/crontab @@ -1,5 +1,7 @@ -# 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 -m 7,`date '+%w'` localhost:8018/IR-Explain---1 +6 0 * * 1 /home/indexdata/irspy/bin/irspy-update.sh +# a quick update on Wed/Fri +6 0 * * 3,5 env irspy_test=Quick /home/indexdata/irspy/bin/irspy-update.sh +# testing if up +8 0 * * 5 find /home/indexdata/irspy/log -name '*.gz' -size -10k -ls +