Differences between revisions 4 and 7 (spanning 3 versions)
Revision 4 as of 2021-09-08 21:39:51
Size: 0
Comment: Obsolete
Revision 7 as of 2021-09-09 00:06:57
Size: 4063
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Cronjobs / crontab on the machines as of Sept 8, 2021

== controls@nodus ==

{{{
# 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 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
}}}
 * Every Sunday 9:00
 * 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
}}}
 * Every Friday 9:00
 * Journal Club reminder at the JC day

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

== controls@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
}}}

 * cron evironment variables for megatron

{{{
# scripts_archive backup
00 6 * * * /cvs/cds/scripts/backupScripts.pl
}}}
 * Everyday 6:00
 * Archiving the script

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

{{{
*/1 * * * * /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

{{{
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 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 this crontab!
00 8 * * * /opt/rtcds/caltech/c1/scripts/crontab/backupCrontab
}}}
 * Everyday 8:00
 * backup this crontab

== root@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

Cronjobs / crontab on the machines as of Sept 8, 2021

controls@nodus

# 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 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
  • Every Sunday 9:00
  • 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
  • Every Friday 9:00
  • Journal Club reminder at the JC day

# 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

controls@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
  • cron evironment variables for megatron

# scripts_archive backup
00 6 * * * /cvs/cds/scripts/backupScripts.pl
  • Everyday 6:00
  • Archiving the script

# 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

*/1 * * * * /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

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 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 this crontab!
00 8 * * * /opt/rtcds/caltech/c1/scripts/crontab/backupCrontab
  • Everyday 8:00
  • backup this crontab

root@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)