1 | MAILTO=dorner@astro.uni-wuerzburg.de
|
---|
2 | AUTOMATIONSETUP="fact.lp.data"
|
---|
3 | # cronjobs for fact2 alias daq
|
---|
4 | ## check network status
|
---|
5 | #*/15 * * * * /home/fact/SW.automatic.processing/DataCheck/Monitoring/CheckNetworkStatus.sh
|
---|
6 | # check time offset of machine
|
---|
7 | 0 */6 * * * /home/fact/SW.automatic.processing/DataCheck/Monitoring/CheckNTPDate.sh
|
---|
8 | # check disk usage for /loc_data
|
---|
9 | 50 * * * * /home/fact/SW.automatic.processing/DataCheck/Monitoring/CheckDU.sh
|
---|
10 | # rsync auxfiles from newdaq via daq to data
|
---|
11 | */15 * * * * if ! ps aux | grep RsyncAuxLP | grep -v grep >/dev/null 2>&1 ; then /home/fact/SW.automatic.processing/DataCheck/Transfer/RsyncAuxLP.sh ; fi
|
---|
12 | # first step of the QLA: rsync newdaq->daq, callisto, star, starting also ganymed
|
---|
13 | */5 19-23,0-7 * * * if ! ps aux | grep Step1 | grep -v grep >/dev/null 2>&1 ; then /home/fact/SW.automatic.processing/DataCheck/QuickLook/Step1.sh ; fi
|
---|
14 | 0 8-18 * * * if ! ps aux | grep Step1 | grep -v grep >/dev/null 2>&1 ; then /home/fact/SW.automatic.processing/DataCheck/QuickLook/Step1.sh ; fi
|
---|
15 | # third step of the QLA: creating lightcurves for the webpage
|
---|
16 | 2-59/5 19-23,0-7 * * * if ! ps aux | grep Step3 | grep -v grep >/dev/null 2>&1 ; then /home/fact/SW.automatic.processing/DataCheck/QuickLook/Step3.sh run ; fi
|
---|
17 | 0 8-18 * * * if ! ps aux | grep Step3 | grep -v grep >/dev/null 2>&1 ; then /home/fact/SW.automatic.processing/DataCheck/QuickLook/Step3.sh run ; fi
|
---|
18 | # create quality plots
|
---|
19 | 5 * * * * /home/fact/SW.automatic.processing/DataCheck/DataCheck/PlotQuality.sh
|
---|
20 | # fill ratescans to database and plot them for website
|
---|
21 | 10 * * * * /home/fact/SW.automatic.processing/DataCheck/Processing/FillRatescans.sh
|
---|
22 | 15 * * * * /home/fact/SW.automatic.processing/DataCheck/DataCheck/PlotRatescans.sh
|
---|
23 | # backup of the QLA results to newdaq
|
---|
24 | 0 8,10,12 * * * /home/fact/SW.automatic.processing/DataCheck/Transfer/BackupQLA.sh
|
---|
25 | # get some images for later data check every 5 minutes during night
|
---|
26 | # lidcam
|
---|
27 | */5 18-23,0-8 * * * mkdir -p /loc_data/analysis/lidcam_images/`date -u +\%Y/\%m/\%d` && /usr/bin/cvlc -q rtsp://10.0.100.87/live/h264 --rate=2 --video-filter=scene --vout=dummy --aout=dummy --start-time=1 --stop-time=2 --scene-format=jpg --scene-replace --scene-prefix=lidcamimage_`date -u +\%Y\%m\%d_\%H\%M\%S` --scene-path=/loc_data/analysis/lidcam_images/`date -u +\%Y/\%m/\%d` vlc://quit 2>/dev/null
|
---|
28 | # fact skycam
|
---|
29 | */5 18-23,0-8 * * * mkdir -p /loc_data/analysis/skycam_images/`date -u +\%Y/\%m/\%d` && /usr/bin/cvlc -q rtsp://10.0.100.84/live/h264 --rate=2 --video-filter=scene --vout=dummy --aout=dummy --start-time=1 --stop-time=2 --scene-format=jpg --scene-replace --scene-prefix=skycamimage_`date -u +\%Y\%m\%d_\%H\%M\%S` --scene-path=/loc_data/analysis/skycam_images/`date -u +\%Y/\%m/\%d` vlc://quit 2>/dev/null
|
---|
30 | # concam
|
---|
31 | */5 18-23,0-8 * * * mkdir -p /loc_data/analysis/concam_images/`date -u +\%Y/\%m/\%d` && wget -q -O /loc_data/analysis/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/concam_labels.png
|
---|
32 | # gtc allsky image
|
---|
33 | */5 18-23,0-8 * * * mkdir -p /loc_data/analysis/gtc_images/`date -u +\%Y/\%m/\%d` && wget -q -O /loc_data/analysis/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
|
---|
34 | # magic allsky image
|
---|
35 | */5 18-23,0-8 * * * mkdir -p /loc_data/analysis/magic_images/`date -u +\%Y/\%m/\%d` && wget -q -O /loc_data/analysis/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
|
---|