Changeset 18062


Ignore:
Timestamp:
01/04/15 04:49:57 (10 years ago)
Author:
Daniela Dorner
Message:
get allsky images every 5 min; added check on whether shiftcalendar is filled
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Cron/crontab.fact01

    r17899 r18062  
    1010# copy weather station data to mysql db (caused problems)
    1111#*/5 * * * * /usr/bin/wview-mysql-export
    12 # get gtc-image every 15 min during night
    13 */15 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 15 min during night
    15 */15 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 15 min during night
    17 */15 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
     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 TracChangeset for help on using the changeset viewer.