| | 1 | = How to restart the daily builds = |
| | 2 | |
| | 3 | On 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 | |
| | 9 | 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: |
| | 10 | |
| | 11 | (chimera) NOPASSWD: ALL |
| | 12 | |
| | 13 | 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: |
| | 14 | |
| | 15 | 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@cgl.ucsf.edu" |
| | 16 | |
| | 17 | 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). |