|
Size: 3569
Comment:
|
Size: 4478
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| = Cron Jobs = <<TableOfContents(3)>> |
|
| Line 3: | Line 6: |
| == Nodus == | == nodus == |
| Line 5: | Line 8: |
| === LIGOX Pizza emails (Disbaled now) === | |
| Line 12: | Line 16: |
| === LIGOX Jouurnal Club emails === | |
| Line 15: | Line 20: |
0 9 * * 5 /opt/rtcds/caltech/c1/scripts/general/RoboTsar/envTsar/bin/python /opt/rtcds/caltech/c1/scripts/general/RoboTsar/TsarMailer.py --dayreminder >> /opt/rtcds/caltech/c1/scripts/general/RoboTsar/log_TsarMailer.log 2>&1 |
|
| Line 17: | Line 24: |
| * Journal Club reminder {{{ 0 9 * * 5 /opt/rtcds/caltech/c1/scripts/general/RoboTsar/envTsar/bin/python /opt/rtcds/caltech/c1/scripts/general/RoboTsar/TsarMailer.py --dayreminder >> /opt/rtcds/caltech/c1/scripts/general/RoboTsar/log_TsarMailer.log 2>&1 }}} |
|
| Line 25: | Line 27: |
| === Summary page log file cleaning === | |
| Line 33: | Line 36: |
| == Megatron == | == megatron == |
| Line 35: | Line 38: |
| cron evironment variables for megatron | |
| Line 41: | Line 45: |
| * cron evironment variables for megatron | === scripts_archive backup === This can be removed now since scripts has been moved to git version controlled directory. |
| Line 50: | Line 55: |
| === autoburt === | |
| Line 57: | Line 63: |
| === Simulink Web view of Front End CDS Models === | |
| Line 64: | Line 71: |
| === Check N2 pressure === | |
| Line 65: | Line 73: |
| */1 * * * * /opt/rtcds/caltech/c1/scripts/Admin/n2Check.sh >> /opt/rtcds/caltech/c1/scripts/Admin/n2Check.log 2>&1 | */10 * * * * /opt/rtcds/caltech/c1/scripts/Admin/n2Check.sh >> /opt/rtcds/caltech/c1/scripts/Admin/n2Check.log 2>&1 |
| Line 70: | Line 78: |
| === Disk full check === | |
| Line 76: | Line 85: |
| === SUS watchdog rampdown (Disabled now) === | |
| Line 83: | Line 93: |
| === Backup crontab === | |
| Line 90: | Line 101: |
| == Chiara == | == chiara == {{{ 00 7 * * * /opt/rtcds/caltech/c1/scripts/backup/localbackup }}} * Everyday 7:00 * Local disk backup of /cvs/cds |
| Line 92: | Line 108: |
| == FB == | == root@fb1 == {{{ 33 3 * * * /opt/rtcds/caltech/c1/target/daqd/wiper.cron }}} * Everyday 3:33 * frame file wiper * This entry appears in root crontab and controls crontab. Are they the same instance? == controls@c1vac == {{{ 0 */3 * * * /opt/target/python/N2checker/pyN2check.sh }}} * Every 3 hours * python version of N2 pressure checker |
Cron Jobs
Contents
Cronjobs / crontab on the machines as of Sept 8, 2021
nodus
LIGOX Pizza emails (Disbaled now)
# LIGOX Pizza emails - set to run on controls user, GV 11 FEB 2018 0 18 * * 0 /opt/rtcds/caltech/c1/scripts/general/pizza/pythonMailer/pyPizza.sh >> /opt/rtcds/caltech/c1/scripts/general/pizza/pythonMailer/pyPizza.log 2>&1
- Every Sunday 18:00
- Pizza meeting ordering reminder
LIGOX Jouurnal Club emails
# LIGOX Journal Club emails - JR 2019/11/07 0 9 * * 0 /opt/rtcds/caltech/c1/scripts/general/RoboTsar/envTsar/bin/python /opt/rtcds/caltech/c1/scripts/general/RoboTsar/TsarMailer.py --weeklyreminder >> /opt/rtcds/caltech/c1/scripts/general/RoboTsar/log_TsarMailer.log 2>&1 0 9 * * 5 /opt/rtcds/caltech/c1/scripts/general/RoboTsar/envTsar/bin/python /opt/rtcds/caltech/c1/scripts/general/RoboTsar/TsarMailer.py --dayreminder >> /opt/rtcds/caltech/c1/scripts/general/RoboTsar/log_TsarMailer.log 2>&1
- Every Sunday 9:00
- Every Friday 9:00
- Journal Club reminder at the JC day
Summary page log file cleaning
# Summary page log file cleaning 27 18 * * * /home/export/home/detcharsummary/40m-summary-pages/bin/cleanLogs_p2
- Everyday 18:27
- This script deletes the log and err files from the summary page jobs that are older than 1 week.
Script adapted from: https://geekflare.com/python-delete-files/ . This particular version is configured to run with python2. Gautam, May 2020
megatron
cron evironment variables for megatron
MAILTO=foteee@gmail.com SHELL=/bin/bash PATH=/opt/rtcds/caltech/c1/scripts:/opt/rtcds/rtscore/release/src/epics/util:/ligo/apps/css/main:/cvs/cds/caltech/apps/linux64/matlab/bin:/ligo/apps/linux-x86_64/epics-3.14.12_long/extensions/bin/linux-x86_64:/ligo/apps/linux-x86_64/epics-3.14.12_long/modules/seq/bin/linux-x86_64:/ligo/apps/linux-x86_64/epics-3.14.12_long/base/bin/linux-x86_64:/ligo/apps/linux-x86_64/cdsutils-480/bin:/ligo/apps/dv/bin:/ligo/apps/ubuntu12/nds2-client-0.10.5/bin:/ligo/apps/ubuntu12/gds-2.16.14/bin:/ligo/apps/ubuntu12/root_v5.34.18/bin:/ligo/apps/linux-x86_64/framecpp-1.18.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/cvs/cds/caltech/apps/linux/ligotools/bin
scripts_archive backup
This can be removed now since scripts has been moved to git version controlled directory.
# scripts_archive backup 00 6 * * * /cvs/cds/scripts/backupScripts.pl
- Everyday 6:00
- Archiving the script
autoburt
# autoburt 19 * * * * /opt/rtcds/caltech/c1/scripts/autoburt/autoburt.cron > /opt/rtcds/caltech/c1/burt/burtcron.log 2>&1
- Every hour *:19
- Burt snapshot
Simulink Web view of Front End CDS Models
# Simulink Web view of Front End CDS Models 6 6 * * 6 /opt/rtcds/caltech/c1/scripts/SimulinkWebView/update_webview.cron >> /opt/rtcds/caltech/c1/scripts/SimulinkWebView/cron.log 2>&1
- Every Saturday 6:06
- Simulink Web view of Front End CDS Models
Check N2 pressure
*/10 * * * * /opt/rtcds/caltech/c1/scripts/Admin/n2Check.sh >> /opt/rtcds/caltech/c1/scripts/Admin/n2Check.log 2>&1
- Every minutes
- Check N2 pressure and send alert if the pressure is low
Disk full check
0 4 * * * /opt/rtcds/caltech/c1/scripts/Admin/FullDiskCheck.sh >> /opt/rtcds/caltech/c1/scripts/Admin/FullDiskCheck.log 2>&1
- Every 4:00AM
- Check if main file system (/cvs/cds) is getting full
SUS watchdog rampdown (Disabled now)
# SUS rampdown the watchdog thresholds to the nominal value- 07,27,49 * * * * /opt/rtcds/caltech/c1/scripts/SUS/rampdown.sh
- Every hour (3 times an hour) *:07, *:27, *:49
- rampdown watchdog thresholds
Backup crontab
# Backup this crontab! 00 8 * * * /opt/rtcds/caltech/c1/scripts/crontab/backupCrontab
- Everyday 8:00
- backup this crontab
chiara
00 7 * * * /opt/rtcds/caltech/c1/scripts/backup/localbackup
- Everyday 7:00
- Local disk backup of /cvs/cds
root@fb1
33 3 * * * /opt/rtcds/caltech/c1/target/daqd/wiper.cron
- Everyday 3:33
- frame file wiper
- This entry appears in root crontab and controls crontab. Are they the same instance?
controls@c1vac
0 */3 * * * /opt/target/python/N2checker/pyN2check.sh
- Every 3 hours
- python version of N2 pressure checker
