Trigger One Job When Another Finishes

adTempus does not have a Trigger that starts one job when another finishes. Instead, this is configured using a Response.

In this example, we have already set up "Job B" and "Job A," and now we want "Job B" to run when "Job A" completes successfully. This is set up as follows:

  1. Edit Job A and go to the Responses page.

  2. Click Add to add a new Response. The Response Properties window will open.

  3. In the Events section click Add to add a new Event. The Response Event Properties window will open.

  4. In the Event selector select "Job Succeeded," then click OK to return to the Response.

  5. In the Actions section click Add to add a new Action.

  6. In the Select Actions window select "Control a job or job step." The Control a Job window will open.

  7. Under Action to Take select "Run a job."

  8. Under Applies To select "Another job on the same computer, then click the Select button.

  9. Locate the job you want to run ("Job B" in our example) and click OK.

  10. Set additional options if you need to (see the Control a Job topic for more information on settings).

  11. Click OK to save the Action.

  12. Click OK to save the Response.

  13. Click OK to save the Job.

Configuration is complete. Now when "Job A" runs successfully, "Job B" will be started. If "Job A" fails for any reason, "Job B" will not be run.