SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Problems rebooting remote computers

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Problems rebooting remote computers
Author Message
Don Rector



Joined: 08 Jun 2001
Posts: 10

Post Problems rebooting remote computers Reply with quote

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?



Sun Nov 25, 2001 12:16 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Problems rebooting remote computers Reply with quote

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?

Sun Nov 25, 2001 4:51 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.