40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Fri Dec 26 17:45:21 2014, Steve, Update, VAC, vac pressure rose to 1.3 mTorr noN2.pngbacktoVacNormal.png
    Reply  Sun Dec 28 07:29:16 2014, Steve, Update, VAC, vacuum is normal 3d.png
    Reply  Tue Feb 3 15:20:13 2015, Steve, Koji, Update, VAC, Pneumatic pressure is being read again N2pressureReadingIsBack.png
    Reply  Sun Mar 22 18:42:40 2015, Steve, Update, VAC, vac pressure rose to 1.2mTorr NoN2.pngPressureReadingWorks.png
       Reply  Mon Mar 23 10:36:55 2015, ericq, Update, VAC, Pressure watch script 
          Reply  Fri Apr 24 17:30:32 2015, Jenne, Update, VAC, Pressure watch script broken 
             Reply  Sat Apr 25 18:50:47 2015, ericq, Update, VAC, Pressure watch script broken 
                Reply  Sat Apr 25 22:17:49 2015, rana, Update, CDS, MXstream restart script working (beta) 
                   Reply  Tue May 19 17:03:34 2015, Koji, Update, CDS, MXstream restart script working (beta) 
                      Reply  Tue May 19 18:38:33 2015, rana, Update, CDS, MXstream restart script working (beta) 
          Reply  Mon Apr 27 14:37:55 2015, Steve, Update, VAC, N2 pneumatic pressure watch  
             Reply  Thu Apr 30 16:30:25 2015, Steve, Update, VAC, N2 pneumatic pressure watch set up 
          Reply  Tue Jan 31 14:14:29 2017, rana, Update, VAC, Pressure watch script 
       Reply  Sun May 15 19:48:08 2016, Steve, Update, VAC, run out of N2 noN2.png
          Reply  Tue Jun 14 10:13:34 2016, Steve, Update, VAC, temporary N2 supply line afterN2work.png
             Reply  Fri Jun 17 15:22:31 2016, gautam, Update, VAC, N2 supply line restored after retiling c0vac_06172016.png
Message ID: 12774     Entry time: Tue Jan 31 14:14:29 2017     In reply to: 11159
Author: rana 
Type: Update 
Category: VAC 
Subject: Pressure watch script 

I think this cron job is running on NODUS (our gateway) instead of our scripts machine:

*/1 * * * * /opt/rtcds/caltech/c1/scripts/Admin/n2Check.sh >> /opt/rtcds/caltech/c1/scripts/Admin/n2Check.log 2>&1

Quote:

Based on Jenne's chiara disk usage monitoring script, I made a script that checks the N2 pressure, which will send an email to myself, Jenne, Rana, Koji, and Steve, should the pressure fall below 60psi. I also updated the chiara disk checking script to work on the new Nodus setup. I tested the two, only emailing myself, and they appear to work as expected. 

The scripts are committed to the svn. Nodus' crontab now includes these two scripts, as well as the crontab backup script. (It occurs to me that the crontab backup script could be a little smarter, only backing it up if a change is made, but the archive is only a few MB, so it's probably not so important...)

moreover this script has a 90MB log file full of not finding its channel

I wish this script was in python instead of BASH and I wish it would run on megatron instead of nodus (why can't megatron send us email too?) and I wish that this log file would get wiped out once in awhile. Currently its been spitting out errors since at least a month ago:

Tue Jan 31 14:10:02 PST 2017 : N2 Pressure:

Channel connect timed out: 'C1:Vac-N2pres' not found.

(standard_in) 1: syntax error

ELOG V3.1.3-