MAILTO=dorner@astro.uni-wuerzburg.de AUTOMATIONSETUP="fact.isdc" SGE_ROOT="/usr/share/gridengine" SGE_CELL="isdc-ge-cell" # 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 */30 * * * * if ! ps aux | grep CheckRawFilesAvail | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/CheckRawFilesAvail.sh; fi */30 * * * * if ! ps aux | grep CheckAuxFilesAvail | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/CheckAuxFilesAvail.sh; fi */30 * * * * if ! ps aux | grep CheckDriveFileAvail | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/CheckDriveFileAvail.sh; fi */30 * * * * if ! ps aux | grep CheckRatesFileAvail | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/CheckRatesFileAvail.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 # jobmanager to process data */15 * * * * if ! ps aux | grep JobManager | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/JobManager.sh; fi # fill auxiliary information to DB 0 9,10,12,14,18 * * * if ! ps aux | grep FillAuxData | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxData.sh ; fi 6 9,10,12,14,18 * * * if ! ps aux | grep FillAuxCurrents | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxCurrents.sh ; fi 12 9,10,12,14,18 * * * if ! ps aux | grep FillAuxThresholds | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxThresholds.sh ; fi 18 9,10,12,14,18 * * * if ! ps aux | grep FillAuxTemp | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxTemp.sh ; fi 24 9,10,12,14,18 * * * if ! ps aux | grep FillEffectiveOn | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillEffectiveOn.sh ; fi 30 9,10,12,14,18 * * * if ! ps aux | grep FillAuxCtrDev | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxCtrDev.sh ; fi 36 9,10,12,14,18 * * * if ! ps aux | grep FillDrsTemp | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillDrsTemp.sh ; fi 42 9,10,12,14,18 * * * if ! ps aux | grep FillAuxContTemp | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxContTemp.sh ; fi 48 9,10,12,14,18 * * * if ! ps aux | grep FillAuxCamHum | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAuxCamHum.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 */2 * * * 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