MAILTO=dorner@astro.uni-wuerzburg.de AUTOMATIONSETUP="fact.isdc" SGE_ROOT="/usr/share/gridengine" SGE_CELL="isdc-ge-cell" # jobmanager to process data */15 * * * * if ! ps aux | grep JobManager | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/JobManager.sh; fi # build sequences and write sequence files at isdc 0 */4 * * * if ! ps aux | grep BuildSequences | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/BuildSequences.sh; fi # cronjobs for user fact_opr (ISDC) on isdc-viewer00, running now on isdc-in04 # check if raw and aux files needed for the analysis are available in the archive 3 0-23/2 * * * if ! ps aux | grep CheckRawFilesAvail | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/CheckRawFilesAvail.sh; fi 13 0-23/2 * * * if ! ps aux | grep CheckAuxFilesAvail | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/CheckAuxFilesAvail.sh; fi 18 0-23/2 * * * if ! ps aux | grep CheckDriveFileAvail | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/CheckDriveFileAvail.sh; fi 23 0-23/2 * * * if ! ps aux | grep CheckRatesFileAvail | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/CheckRatesFileAvail.sh; fi # fill auxiliary information to DB 28 0-23/2 * * * if ! ps aux | grep FillAuxData | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxData.sh ; fi 33 0-23/2 * * * if ! ps aux | grep FillAuxCurrents | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxCurrents.sh ; fi 38 0-23/2 * * * if ! ps aux | grep FillAuxThresholds | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxThresholds.sh ; fi #43 20,22,0,2,4,6,8,10,12,14,16,18 * * * if ! ps aux | grep FillAuxTemp | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxTemp.sh ; fi 43 0-23/2 * * * if ! ps aux | grep FillAuxMagic | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxMagic.sh ; fi 48 0-23/2 * * * if ! ps aux | grep FillEffectiveOn | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillEffectiveOn.sh ; fi 53 0-23/2 * * * if ! ps aux | grep FillAuxCtrDev | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxCtrDev.sh ; fi 8 1-23/2 * * * if ! ps aux | grep FillDrsTemp | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillDrsTemp.sh ; fi 13 1-23/2 * * * if ! ps aux | grep FillAuxContTemp | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxContTemp.sh ; fi #18 21,23,1,3,5,7,9,11,13,15,17,19 * * * if ! ps aux | grep FillAuxCamHum | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxCamHum.sh ; fi 23 1-23/2 * * * if ! ps aux | grep FillAuxLidar | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxLidar.sh ; fi 28 1-23/2 * * * if ! ps aux | grep FillAuxDust | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxDust.sh ; fi 33 1-23/2 * * * if ! ps aux | grep FillRates.sh | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillRates.sh ; fi 0 11,15,18 * * * if ! ps aux | grep FillRatescans | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillRatescans.sh ; fi # fill file sizes to DB 0 15 * * * if ! ps aux | grep FillFileSizes | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillFileSizes.sh ; fi # QLA: run-wise ganymed (running on data processed at ISDC) 0 */2 * * * if ! ps aux | grep Step2a | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/QuickLook/Step2a.sh ; fi # fill results of QLA to DB 30 19 * * * if ! ps aux | grep FillNumEvts | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillNumEvts.sh ; fi ## cron to study the system performance (temporarily used) ##*/5 * * * * /bin/echo -n `/bin/date +\%F\ \%T`" time for ls: ">>~/time_for_ls_isdc-in04.txt;/usr/bin/time -f \%e /bin/ls >/dev/null 2>>~/time_for_ls_isdc-in04.txt #*/5 * * * * source ~/.bashrc ; /bin/echo -n `/bin/date +\%F\ \%T`" time for ls: ">>~/time_for_ls_isdc-in04_new.txt;/usr/bin/time -f \%e /bin/ls >/dev/null 2>>~/time_for_ls_isdc-in04_new.txt #55 8 * * * ~/DataCheck/Monitoring/TestMysqlConnection.sh