adTempus API
ArcanaDevelopment.adTempus.Client Namespace / JobControlAction Class / ExecutionDelay Property


In This Topic
    ExecutionDelay Property
    In This Topic
    Delays execution of the target job by the specified time
    Syntax
    'Declaration
     
    
    Public Property ExecutionDelay As TimeSpan
    public TimeSpan ExecutionDelay {get; set;}
    public:
    property TimeSpan ExecutionDelay {
       TimeSpan get();
       void set (    TimeSpan value);
    }
    Remarks

    Use this option to wait before a restart or run action. The behavior depends on the ControlType:

    ArcanaDevelopment.adTempus.Shared.JobControlActionType.RunJob Execution of the current job continues immediately. The target job is queued with a status of "Waiting for delay" with the ExecutionHistoryItem.ScheduledStart set to the delayed start time. The Console will show the delayed start time as the "Execution Start" time for the queued instance.
    ArcanaDevelopment.adTempus.Shared.JobControlActionType.RestartJob, ArcanaDevelopment.adTempus.Shared.JobControlActionType.RestartStep Setting a delay blocks execution of the current job/step from continuing until the delay elapses.
    All other ControlTypes The delay is ignored
    See Also