Automatically Killing a Runaway Job

Follow

Jobs that go into a Runaway Status (ones that have executed too long) can be handled automatically by adding a Runaway Element:

  1. Right-click Job/Folder and select Properties.
  2. Navigate to the Elements Tab and select Add.
  3. In the dialogue window, expand the EventHandler menu and choose the Runaway Element.

An Elapsed Time can be entered with the value of Windows System Time, or the Runaway Elapsed Percentage of Completion can be selected. From here, an Action can be taken, such as Cancelling with any form of Completion Severity, or simply Sending a Notification to allow the Job to continue executing.

In the example below, the Job is configured to cancel with Error severity if the Job takes 5 hours, or 500% of its normal execution time.

Have more questions? Submit a request

Comments