Restart nodes

From MDWiki
Jump to navigationJump to search

Restarting only nodes without jobs

If there is a need to restart specific nodes it can be done by:

sudo cexec 'if ! ( ps lax | grep mom | grep -v grep | grep spool ); then shutdown -r now; fi'