Changes between Initial Version and Version 1 of StartDaily


Ignore:
Timestamp:
Jul 6, 2020, 10:19:44 AM (5 years ago)
Author:
Tom Goddard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • StartDaily

    v1 v1  
     1= How to restart the daily builds =
     2
     3On chimera account on plato.cgl.ucsf.edu run from a bash shell:
     4
     5/usr/local/etc/periodic/scripts/daily_chimerax_build 2>&1 | cat -v | /usr/bin/Mail -s 'ChimeraX build results' chimera-staff@cgl.ucsf.edu
     6
     7== Details from Eric Pettersen ==
     8
     9On plato, you need to have the ability to run commands as user "chimera".  When I run "sudo -l" on plato, the output includes this line:
     10
     11    (chimera) NOPASSWD: ALL
     12
     13which indicates that I can do "sudo -u chimera command" without a password.  To find the command, I grep /usr/local/etc/periodic/periodic.conf for "chimera", and the output includes this line:
     14
     150 2 * * * su chimera -c "/usr/local/etc/periodic/scripts/daily_chimerax_build 2>&1 | cat -v | /usr/bin/Mail -s 'ChimeraX build results' chimera-staff@cgl.ucsf.edu"
     16
     17So I do "sudo -u chimera bash" to get a bash shell as user chimera, and then paste in the command part of what I just grepped (and add '&' to put it in the background).