Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UPS shutdown of active scripts

Status
Not open for further replies.

Eyeball4822528

Programmer
Nov 7, 2002
3
CA
In performing a UPS extended power loss intitated Win 2000 shutdown, the Procomm script asks for a manual "okay" push button window to be approved before continuing. Since it is an unmanned situation, this is impossible. This leaves a bunch of Procomm scripts still active when the power is lost. This can butcher the scripts for automatic startup when the power returns. How do I turn this button feature off ?
 
Unfortunately, I'm not aware of a way to disable this prompt. I tried one method that works if the user tries to stop the script, but that doesn't work in the case when Procomm itself is being shutdown.
aspect@aspectscripting.com
 
I take it back! Add this line to your script and you should be good to go (I think, at least it works when I try to close down Procomm with a script running):

set aspect exitaction HALT aspect@aspectscripting.com
 
Forgot to follow up on this since I tried it. Works like a charm. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top