Differences between revisions 8 and 11 (spanning 3 versions)
Revision 8 as of 2021-09-09 01:36:45
Size: 4064
Comment:
Revision 11 as of 2022-08-04 20:49:52
Size: 4437
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
== controls@nodus == == nodus ==
Line 5: Line 5:
=== LIGOX Pizza emails (Disbaled now) ===
Line 12: Line 13:
=== LIGOX Jouurnal Club emails ===
Line 15: Line 17:

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 21:
 * 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 24:
=== Summary page log file cleaning ===
Line 33: Line 33:
== controls@megatron == == megatron ==
Line 35: Line 35:
cron evironment variables for megatron
Line 41: Line 42:
 * 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 52:
=== autoburt ===
Line 57: Line 60:
=== Simulink Web view of Front End CDS Models ===
Line 64: Line 68:
=== Check N2 pressure ===
Line 70: Line 75:
=== Disk full check ===
Line 76: Line 82:
=== SUS watchdog rampdown (Disabled now) ===
Line 83: Line 90:
=== Backup crontab ===
Line 90: Line 98:
== root@chiara ==

{{{00 7 * * * /opt/rtcds/caltech/c1/scripts/backup/localbackup}}}
== chiara ==
{{{
00 7 * * * /opt/rtcds/caltech/c1/scripts/backup/localbackup
}}}

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
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

Computers_and_Scripts/CRON (last edited 2022-08-04 20:55:50 by AnchalguptaATligoDOTorg)