1 | MAILTO=dorner@astro.uni-wuerzburg.de
|
---|
2 | AUTOMATIONSETUP="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
|
---|
5 | 0,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
|
---|
7 | 0,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
|
---|
9 | 15,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
|
---|
11 | 15,45 * * * * /bin/nice -n 19 /usr/bin/ionice -c 3 ~/DataCheck/Transfer/BackupRawToWue.sh
|
---|
12 | # fill events to DB at ETHZ
|
---|
13 | 15 * * * * if ! ps aux | grep FillEvents | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/FillEvents.sh; fi
|
---|
14 | 45 * * * * if ! ps aux | grep CalcSource | grep -v grep >/dev/null 2>&1 ; then ~/DataCheck/Processing/CalcSource.sh; fi
|
---|
15 | 56 * * * * 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
|
---|
18 | 10 0 * * * ~/DataCheck/Monitoring/CheckLogs.sh day
|
---|
19 | # once per hour for CONNECTION and DISK
|
---|
20 | 10 * * * * ~/DataCheck/Monitoring/CheckLogs.sh hour
|
---|
21 | 0 8,17 * * * ~/DataCheck/Monitoring/CheckStatus.sh
|
---|
22 | # check which files can be deleted in La Palma
|
---|
23 | 0 16 * * * ~/DataCheck/Transfer/CheckTransfer.sh
|
---|
24 | # check disk space
|
---|
25 | 50 * * * * ~/DataCheck/Monitoring/CheckDU.sh
|
---|
26 | # rsync of the QLA results (quick rsync every 2h and all files once a day)
|
---|
27 | 0 20,22,0,2,4,6,8,10 * * * ~/DataCheck/Transfer/BackupQLA.sh short
|
---|
28 | 0 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
|
---|
33 | 10 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
|
---|