Table of Contents

Enum RestartOptions

Namespace
ArcanaDevelopment.adTempus.Shared
Assembly
ArcanaDevelopment.adTempus.Shared.dll

Options that control how a job is restarted if it is missed or abandoned.

[ComVisible(true)]
[Guid("8EEB361F-F195-4E04-9BCF-860FBFE62E1F")]
[Flags]
public enum RestartOptions

Fields

RestartFromBeginning = 8

Valid only when RunOnStartupIfCleanShutdown or RunOnStartupIfDirtyShutdown is specified: the job restarts from the beginning.

RestartFromLastStep = 16

Valid only when RunOnStartupIfCleanShutdown or RunOnStartupIfDirtyShutdown is specified: the job restarts from the beginning of the step that was executing when the service shut down.

RestartFromNextStep = 64

Valid only when RunOnStartupIfCleanShutdown or RunOnStartupIfDirtyShutdown is specified: the job restarts from the beginning of the step after the step that was executing when the service shut down.

RunOnStartupIfCleanShutdown = 2

The job is restarted when adTempus starts if the adTempus service was stopped (using the service control manager) while the job was running.

RunOnStartupIfDirtyShutdown = 4

The job is restarted when adTempus starts if the adTempus service terminated unexpectedly (e.g., due to an application or system failure) while the job was running.

RunOnStartupIfMissed = 1

The job is run when adTempus starts if a scheduled execution was missed because adTempus was not running.

UseCheckpoint = 32

Valid only when RunOnStartupIfCleanShutdown or RunOnStartupIfDirtyShutdown is specified: the most recent checkpoint set by the job is passed to the new instance.

Extension Methods