Page 1 of 1

Call job on a different server to run from sequence

Posted: Thu Jun 15, 2006 9:39 am
by Juls
Hi,

I am sure someone has done it before.
I need to call a sequence job located on server2 from a sequence job located on server1. I realize it can be done somehow using a command stage and call a batch file that has a command line in it for the job from server2.
I looked at dsjob command but didn't find anything that will set the server to use.
What is the right command to use?
Thanks,
Juls

Posted: Thu Jun 15, 2006 10:09 am
by ArndW
Juls, the dsjob command lets you specify server, userid and password to do any of the actions on a remote machine. Please look at page 19-140 of the Server Job Developer's Guide for more information.

Posted: Thu Jun 15, 2006 5:22 pm
by ray.wurlod
To do this from a job sequence on one server to run on a separate server you could run dsjob from an Execute Command activity. You only need to specify the foreign server name and authentication information once.