Summary

The Actions page in the Program Properties window allows you to launch a second job based on the outcome of a scheduled job. This feature is restricted to starting jobs running on the same computer as the initial job.

If you want to start a job on a remote computer you can schedule a local job that uses the Command-Line Job Execution Utility to start the remote job.

More Information

This approach can only be used if both computers are running version 2.2 or later of the Arcana Scheduler.

The Command-Line Job Execution Utility allows you to start jobs on the local computer or a remote computer from the command line. If you have version 2.3 or later of the Scheduler the utility ("adsexec.exe") can be found in the Arcana Scheduler program directory. If you have an earlier version the utility is available at www.arcanadev.com/scheduler/accessories/adsexec.htm.

The basic approach is to have your main job chain to a job on the local computer that uses adsexec to start a job on a remote computer.

For example, Job 1 runs on computerA. When it finishes, you want to start Job 2, which runs on computerB. To do so:

  • Set up Job 2 in the Arcana Scheduler on computerB.
  • Create a job on computer A called "launch job 2". For this job set the application to the adsexec.exe program and set the command line parameters to
    "job 2" \\computerb
    Note that the job name is case-sensitive and must be contained in quotes if it has punctuation or spaces in it.
  • Schedule Job 1 on computerA and configure it to run the job "launch job 2" when it completes successfully