source: trunk/DataCheck/Cron/crontab.fact01@ 18066

Last change on this file since 18066 was 18062, checked in by Daniela Dorner, 10 years ago
get allsky images every 5 min; added check on whether shiftcalendar is filled
File size: 1.7 KB
Line 
1MAILTO=dorner@astro.uni-wuerzburg.de
2AUTOMATIONSETUP="fact.lp.gate"
3# cronjobs for fact01 alias gate
4# write files for David's MWL campaign webpage
50 8 * * * cd /home/factwww/mwlinfo ; /users/fact/SW.automatic.processing/DataCheck/DataCheck/InfoForMWL.sh
6# check time offset of machine
70 */6 * * * /users/fact/SW.automatic.processing/DataCheck/Monitoring/CheckNTPDate.sh
8# backup databases
90 8 * * * /users/fact/SW.automatic.processing/DataCheck/Transfer/BackupDatabase.sh
10# copy weather station data to mysql db (caused problems)
11#*/5 * * * * /usr/bin/wview-mysql-export
12# get gtc-image every 5 min during night
13*/5 18-23,0-8 * * * mkdir -p /home/factwww/gtc_images/`date -u +\%Y/\%m/\%d` && wget -q -O /home/factwww/gtc_images/`date -u +\%Y/\%m/\%d`/gtc_allskyimage_`date -u +\%Y\%m\%d_\%H\%M\%S`.jpg http://www.gtc.iac.es/multimedia/netcam/camaraAllSky.jpg
14# get concam every 5 min during night
15*/5 18-23,0-8 * * * mkdir -p /home/factwww/concam_images/`date -u +\%Y/\%m/\%d` && wget -q -O /home/factwww/concam_images/`date -u +\%Y/\%m/\%d`/concam_allskyimage_`date -u +\%Y\%m\%d_\%H\%M\%S`.jpg http://catserver.ing.iac.es/weather/archive/concam/tmp/concam.jpg
16# get magic allsky image every 5 min during night
17*/5 18-23,0-8 * * * mkdir -p /home/factwww/magic_images/`date -u +\%Y/\%m/\%d` && wget -q -O /home/factwww/magic_images/`date -u +\%Y/\%m/\%d`/magic_allskyimage_`date -u +\%Y\%m\%d_\%H\%M\%S`.jpg http://www.magic.iac.es/site/weather/AllSkyCurrentImage.JPG ; /home/fact/allskysources/allSkySources.sh
18*/5 18-23,0-8 * * * /home/fact/allskysources_cp/allSkySources.sh
19# check shift calendar
20SHELL=/bin/bash
215 8 * * * for ((i=0;i<8;i++)) do date=`date -u +\%Y\%m\%d --date='+'$i'day'` ; /usr/bin/php -f /home/factwww/dch/shiftinfo.php date=$date > /dev/null; done
Note: See TracBrowser for help on using the repository browser.