OAProfessor

Deep OA Product Insight

User Tools

Site Tools


shutdown

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
shutdown [2021/12/29 20:37] toddmaloneshutdown [2021/12/29 20:41] (current) toddmalone
Line 13: Line 13:
 Regardless of your choice, there are some tricky things when you try to stop a project from scripting. Regardless of your choice, there are some tricky things when you try to stop a project from scripting.
  
-Any scripts you run should run independently on the servers.  Here is the Control Manager options for starting a script that runs on EACH server:+Any scripts you run should run independently on the servers.  Here is the Control Manager options for starting a script that runs on EACH server in a redundant pair:
  
   ServerMonitor.ctl -connectToRedundantHosts   ServerMonitor.ctl -connectToRedundantHosts
Line 33: Line 33:
   }       }    
  
-Once you have all of the decisions made logic set for stopping the project and/or the computer, here is some code for stopping the computer with a delay so if you need to stop the project, the project will still be running:+Once you have all of the decisions made and logic set for stopping the project and/or the computer, here is some code for stopping the computer with a delay so if you need to stop the project, the project will still be running:
  
   int sysRet;   int sysRet;
shutdown.txt · Last modified: by toddmalone

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki