MAILTO=dorner@astro.uni-wuerzburg.de AUTOMATIONSETUP="fact.lp.data" # cronjobs for fact2 alias daq # check network status */15 * * * * /home/fact/SW.automatic.processing/DataCheck/Monitoring/CheckNetworkStatus.sh # check time offset of machine 0 */6 * * * /home/fact/SW.automatic.processing/DataCheck/Monitoring/CheckNTPDate.sh # check disk usage for /loc_data 0 * * * * /home/fact/SW.automatic.processing/DataCheck/Monitoring/CheckDU.sh # rsync auxfiles from newdaq via daq to data */15 * * * * if ! ps aux | grep RsyncAuxLP | grep -v grep >/dev/null 2>&1 ; then /usr/bin/nice -n 19 /usr/bin/ionice -c 3 /home/fact/SW.automatic.processing/DataCheck/Transfer/RsyncAuxLP.sh ; fi # first step of the QLA: rsync newdaq->daq, sequ writing, callisto, star */5 19-23,0-7 * * * if ! ps aux | grep Step1 | grep -v grep >/dev/null 2>&1 ; then /usr/bin/nice -n 19 /home/fact/SW.automatic.processing/DataCheck/QuickLook/Step1.sh ; fi 0 8-18 * * * if ! ps aux | grep Step1 | grep -v grep >/dev/null 2>&1 ; then /usr/bin/nice -n 19 /home/fact/SW.automatic.processing/DataCheck/QuickLook/Step1.sh ; fi # second step of the QLA: ganymed on run-basis */10 19-23,0-7 * * * if ! ps aux | grep Step2a | grep -v grep >/dev/null 2>&1 ; then /usr/bin/nice -n 19 /usr/bin/ionice -c 3 /home/fact/SW.automatic.processing/DataCheck/QuickLook/Step2a.sh ; fi 0 8-18 * * * if ! ps aux | grep Step2a | grep -v grep >/dev/null 2>&1 ; then /usr/bin/nice -n 19 /usr/bin/ionice -c 3 /home/fact/SW.automatic.processing/DataCheck/QuickLook/Step2a.sh ; fi # fill information from star and ganymed to DB */10 19-23,0-7 * * * if ! ps aux | grep FillNumEvts | grep -v grep >/dev/null 2>&1 ; then /usr/bin/nice -n 19 /usr/bin/ionice -c 3 /home/fact/SW.automatic.processing/DataCheck/Processing/FillNumEvts.sh ; fi 30 8-18 * * * if ! ps aux | grep FillNumEvts | grep -v grep >/dev/null 2>&1 ; then /usr/bin/nice -n 19 /usr/bin/ionice -c 3 /home/fact/SW.automatic.processing/DataCheck/Processing/FillNumEvts.sh ; fi # third step of the QLA: creating lightcurves for the webpage */15 19-23,0-7 * * * if ! ps aux | grep Step3 | grep -v grep >/dev/null 2>&1 ; then /usr/bin/nice -n 19 /usr/bin/ionice -c 3 /home/fact/SW.automatic.processing/DataCheck/QuickLook/Step3.sh run ; fi 0 8-18 * * * if ! ps aux | grep Step3 | grep -v grep >/dev/null 2>&1 ; then /usr/bin/nice -n 19 /usr/bin/ionice -c 3 /home/fact/SW.automatic.processing/DataCheck/QuickLook/Step3.sh run ; fi # backup of the QLA results to newdaq 0 8,10,12 * * * /home/fact/SW.automatic.processing/DataCheck/Transfer/BackupQLA.sh