Previous Topic: Configure the Scheduler Heartbeat IntervalNext Topic: Specify the Signals for a KILLJOB Event


Set the Values to Calculate the Wait Time Between Restart Attempts

You can set the Restart Factor, Restart Constant, and Max Restart Wait values to calculate the maximum amount of time (in seconds) that CA Workload Automation AE waits before it tries to restart a job.

The following formula is used to calculate the wait time:

WaitTime=RestartConstant+(Num_of_Trys*RestartFactor)
if WaitTime > MaxRestartWait,
then WaitTime = MaxRestartWait

The Num_of_Trys value is specified by the internal job start counter, which indicates the number of times CA Workload Automation AE has already tried to start the job. If the calculated wait time is greater than the specified value for the Max Restart Wait parameter, then the wait time is set to the value of the Max Restart Wait parameter.

Follow these steps:

  1. Click Start, Programs, CA, Workload Automation AE, Administrator.

    The Instance - CA Workload Automation AE Administrator window opens.

  2. Select an instance from the Instance drop-down list in the Settings pane.
  3. Click the Services icon on the toolbar.

    The Services - CA Workload Automation AE Administrator window appears, displaying a list of services installed on the selected instance.

  4. Right-click the scheduler and select Stop.

    The scheduler stops.

  5. Click the Scheduler icon on the toolbar.

    The Scheduler - CA Workload Automation AE Administrator window appears. The Controls tab is selected by default.

  6. Complete the following fields as appropriate, and click Apply.
    Restart Factor

    Defines the Restart Factor value used for calculating the wait time (in seconds) between attempts to restart a job.

    Default: 5

    Note: On UNIX, the equivalent configuration parameter is RestartFactor.

    Restart Constant

    Defines the Restart Constant value used for calculating the wait time (in seconds) between attempts to restart a job.

    Default: 10

    Note: On UNIX, the equivalent configuration parameter is RestartConstant.

    Max Restart Wait

    Defines the maximum amount of time (in seconds) that CA Workload Automation AE waits before it tries to restart a job.

    Default: 300

    Note: On UNIX, the equivalent configuration parameter is MaxRestartWait.

  7. Click the Services icon on the toolbar.

    The Services - CA Workload Automation AE Administrator window appears, displaying a list of services installed on the selected instance.

  8. Right-click the scheduler and select Start.

    The scheduler starts. The wait time between restart attempts is calculated based on the values set.

More information:

Scheduler