source: trunk/DataCheck/Cron/crontab.fact-transfer

Last change on this file was 19492, checked in by Daniela Dorner, 6 years ago
added filling of events to DB and check for core-dumps
File size: 2.4 KB
Line 
1MAILTO=dorner@astro.uni-wuerzburg.de
2AUTOMATIONSETUP="fact.isdc"
3# cronjobs for user fact_opr (ISDC) on isdc-dl00 (machine for transfer)
4# transfer of aux data from LP to isdc-dl00
50,30 * * * * if ! ps aux | grep RsyncAuxToISDC | grep -v grep >/dev/null 2>&1 ; then /bin/nice -n 19 /usr/bin/ionice -c 3 ~/DataCheck/Transfer/RsyncAuxToISDC.sh; fi
6# transfer of raw data from LP to isdc-dl00
70,30 * * * * if ! ps aux | grep RsyncRawToISDC | grep -v grep >/dev/null 2>&1 ; then /bin/nice -n 19 /usr/bin/ionice -c 3 ~/DataCheck/Transfer/RsyncRawToISDC.sh; fi
8# do backup of auxiliary data to Wuerzburg
915,45 * * * * if ! ps aux | grep BackupAuxToWue | grep -v grep >/dev/null 2>&1 ; then /bin/nice -n 19 /usr/bin/ionice -c 3 ~/DataCheck/Transfer/BackupAuxToWue.sh; fi
10# do backup of raw data to Wuerzburg
1115,45 * * * * /bin/nice -n 19 /usr/bin/ionice -c 3 ~/DataCheck/Transfer/BackupRawToWue.sh
12# fill events to DB at ETHZ
1315 * * * * if ! ps aux | grep FillEvents | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillEvents.sh; fi
1445 * * * * if ! ps aux | grep CalcSource | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/CalcSource.sh; fi
1556 * * * * if ! ps aux | grep FillAnalysisResults | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillAnalysisResults.sh CutsLC; fi
16# check global log
17# once per day for ERROR and WARN
1810 0 * * * ~/DataCheck/Monitoring/CheckLogs.sh day
19# once per hour for CONNECTION and DISK
2010 * * * * ~/DataCheck/Monitoring/CheckLogs.sh hour
210 8,17 * * * ~/DataCheck/Monitoring/CheckStatus.sh
22# check which files can be deleted in La Palma
230 16 * * * ~/DataCheck/Transfer/CheckTransfer.sh
24# check disk space
2550 * * * * ~/DataCheck/Monitoring/CheckDU.sh
26# rsync of the QLA results (quick rsync every 2h and all files once a day)
270 20,22,0,2,4,6,8,10 * * * ~/DataCheck/Transfer/BackupQLA.sh short
280 12 * * * ~/DataCheck/Transfer/BackupQLA.sh
29# cron to study the system performance and test some things
30*/5 * * * * source ~/.bashrc ; /bin/echo -n `/bin/date +\%F\ \%T`" time for ls: ">>~/time_for_ls_isdc-dl00_new.txt;/usr/bin/time -f \%e /bin/ls >/dev/null 2>>~/time_for_ls_isdc-dl00_new.txt
31*/5 * * * * /usr/sbin/lsof ~/DataCheck/Transfer/BackupRawToWue.sh > /dev/null
32# check for core-dump files
3310 1 * * * num=`ls -1 /home/projects/fact_opr/Mars.svn.r19203/core* 2>/dev/null | wc -l`; if [ $num -gt 50 ]; then echo $num" core dumps found"; fi
Note: See TracBrowser for help on using the repository browser.