If you launch your program using a "program type" job you can set the maximum timeout for the job so 24x7 will terminate it if the program does not finish in time. If you launch your program from a "script type" job, use either RunAndWait statement that simulates behavior described above or simply call ProcessKill statement. Please see on-line help and example jobs for details. : I can start a program with the scheduler. : But how do you stop or end the program with : the scheduler? : Thank you : Roddy
|