Such job would shot itself in the foot, causing the agent to terminate before the remote session to the master is closed. The solution is to create a separate "RebootServer" job on every remote machine and then from the master execute remote job with a command line like "24x7.exe /JOB RebootServer". The master job must be asynchronous. : I have jobs setup on my master scheduler that use the Reboot() command via : remote agents to reboot various servers. When I run the jobs on a schedule : the first job runs but no other jobs run after that until I reset the 24x7 : master schedule program. : The jobs run correctly if I manually run each job. : I have also tried calling the jobs from within one script with the : jobremoterun command and the jobrun command (same results - the first job : executes but never returns a completion code and the rest of the jobs in : the script never run, the script just hangs). : Any suggestions?
|