MAILTO=dorner@astro.uni-wuerzburg.de AUTOMATIONSETUP="fact.lp.gate" # cronjobs for fact01 alias gate # write files for David's MWL campaign webpage 0 8 * * * cd /home/factwww/mwlinfo ; /users/fact/SW.automatic.processing/DataCheck/DataCheck/InfoForMWL.sh # check time offset of machine 0 */6 * * * /users/fact/SW.automatic.processing/DataCheck/Monitoring/CheckNTPDate.sh # backup databases 0 8 * * * /users/fact/SW.automatic.processing/DataCheck/Transfer/BackupDatabase.sh # copy weather station data to mysql db (caused problems) #*/5 * * * * /usr/bin/wview-mysql-export # get gtc-image every 5 min during night */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 # get concam every 5 min during night */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 # get magic allsky image every 5 min during night */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 */5 18-23,0-8 * * * /home/fact/allskysources_cp/allSkySources.sh # check shift calendar SHELL=/bin/bash 5 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