Specify Script - Scheduled Action - Script Failed

Use this dialog box to specify a script to run when a scheduled action fails.

Field Name

Description

Script Name

Enter the name of the script.

Where to Run

Select the Agent where you want the script to run from the drop-down list.

Script Parameters

This section displays what parameters will be passed to the script when it is run. The parameters will be passed in the order specified.

  • Script - name of the script that failed
  • creator.name - the ID of the user who created the scheduled action and the name of the scheduled action
  • run-number - the number automatically assigned to each job run
  • failed-jobs -the number of failed jobs in the run (i.e, if the script is run against multiple agents, this number will represent the number of agents against which the script failed)
  • total-jobs - the total number of jobs in a run

See Running Scripts - Overview for more information.