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 | # check global log
|
---|
13 | # once per day for ERROR and WARN
|
---|
14 | 10 0 * * * ~/DataCheck/Monitoring/CheckLogs.sh day
|
---|
15 | # once per hour for CONNECTION and DISK
|
---|
16 | 10 * * * * ~/DataCheck/Monitoring/CheckLogs.sh hour
|
---|
17 | 0 8,17 * * * ~/DataCheck/Monitoring/CheckStatus.sh
|
---|
18 | # check which files can be deleted in La Palma
|
---|
19 | 0 16 * * * ~/DataCheck/Transfer/CheckTransfer.sh
|
---|
20 | # check disk space
|
---|
21 | 50 * * * * ~/DataCheck/Monitoring/CheckDU.sh
|
---|
22 | # rsync of the QLA results (quick rsync every 2h and all files once a day)
|
---|
23 | 0 20,22,0,2,4,6,8,10 * * * ~/DataCheck/Transfer/BackupQLA.sh short
|
---|
24 | 0 12 * * * ~/DataCheck/Transfer/BackupQLA.sh
|
---|
25 | # cron to study the system performance and test some things
|
---|
26 | */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
|
---|
27 | */5 * * * * /usr/sbin/lsof ~/DataCheck/Transfer/BackupRawToWue.sh > /dev/null
|
---|