SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Stoping the 24x7 Program when an error occurs

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Stoping the 24x7 Program when an error occurs
Author Message
Jeff Leu



Joined: 01 May 2002
Posts: 2

Post Stoping the 24x7 Program when an error occurs Reply with quote

Is there a JAL command to shutdown or pause the 24x7 program if a specific error code is returned. We use the 24x7 program to automate the night close of our Hospital Operating System and we have some jobs that I created that monitor the progress of the close. If it get's an error during the close I have it page a technician, but I would also like to stop if from processing any other scheduled jobs until a technician can determine the reason for the error. Is there a way to do this.



Wed May 01, 2002 12:56 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Stoping the 24x7 Program when an error occurs Reply with quote

The following can be used to terminate 24x7

Dim( process_id, number )
ProcessGetId( "24X7.EXE", process_id )
ProcessKill( process_id )

The following can be used to close 24x7 gracefully. If no exit prompt is enabled in the 24x7 options, 24x7 will stop all jobs and exit, otherwise it will pause running new jobs but already active jobs will continue to run.

Dim( window_handle, number )
WindowFind( "24x7 Scheduler %", window_handle )
WindowClose( window_handle )

Copyright ¿ 1998-2002 SoftTree Technologies, Inc.

: Is there a JAL command to shutdown or pause the 24x7 program if a specific
: error code is returned. We use the 24x7 program to automate the night
: close of our Hospital Operating System and we have some jobs that I
: created that monitor the progress of the close. If it get's an error
: during the close I have it page a technician, but I would also like to
: stop if from processing any other scheduled jobs until a technician can
: determine the reason for the error. Is there a way to do this.

Wed May 01, 2002 1:19 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.