SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Shutdown

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Shutdown
Author Message
John Natale



Joined: 13 Sep 2000
Posts: 107

Post Shutdown Reply with quote

Hello,

There is a REBOOT command in JAL. I was curious if there was a
way to do a SHUTDOWN.

Thanks

Thu Feb 16, 2006 5:15 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Re: Shutdown Reply with quote

A JAL script can be used for that, for example,

Dim EWX_FORCE, number, 4
Dim EWX_POWEROFF, number, 8
Dim flags, number

Add EWX_FORCE, EWX_POWEROFF, flags
Call "user32.lib", "ExitWindowsEx", "ll", False, flags, 0

: Hello,

: There is a REBOOT command in JAL. I was curious if there was a
: way to do a SHUTDOWN.

: Thanks

Thu Feb 16, 2006 6:43 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.