wiki:StartDaily

Version 1 (modified by Tom Goddard, 5 years ago) ( diff )

--

How to restart the daily builds

On chimera account on plato.cgl.ucsf.edu run from a bash shell:

/usr/local/etc/periodic/scripts/daily_chimerax_build 2>&1 | cat -v | /usr/bin/Mail -s 'ChimeraX build results' chimera-staff@…

Details from Eric Pettersen

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

(chimera) NOPASSWD: ALL

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

0 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@…"

So 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).

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.