adTempus API
PreviousUpNext
RestartOptionsEnum Enumeration

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

C++
enum RestartOptionsEnum {
  roRunOnStartupIfMissed = 1,
  roRunOnStartupIfCleanShutdown = 2,
  roRunOnStartupIfDirtyShutdown = 4,
  roRestartFromBeginning = 8,
  roRestartFromLastStep = 0x10,
  roUseCheckpoint = 0x20,
  roRestartFromNextStep = 0x40
};
C#
public enum RestartOptionsEnum {
  roRunOnStartupIfMissed = 1,
  roRunOnStartupIfCleanShutdown = 2,
  roRunOnStartupIfDirtyShutdown = 4,
  roRestartFromBeginning = 8,
  roRestartFromLastStep = 0x10,
  roUseCheckpoint = 0x20,
  roRestartFromNextStep = 0x40
}
Visual Basic
Public Enum RestartOptionsEnum
  roRunOnStartupIfMissed = 1
  roRunOnStartupIfCleanShutdown = 2
  roRunOnStartupIfDirtyShutdown = 4
  roRestartFromBeginning = 8
  roRestartFromLastStep = &H10
  roUseCheckpoint = &H20
  roRestartFromNextStep = &H40
End Enum
Members
Members 
Description 
roRunOnStartupIfMissed = 1 
The job is run when adTempus starts if a scheduled execution was missed because adTempus was not running. 
roRunOnStartupIfCleanShutdown = 2 
The job is restarted when adTempus starts if the adTempus service was stopped (using the service control manager) while the job was running. 
roRunOnStartupIfDirtyShutdown = 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. 
roRestartFromBeginning = 8 
Valid only when roRunOnStartupIfCleanShutdown or roRunOnStartupIfDirtyShutdown is specified: the job restarts from the beginning. 
roRestartFromLastStep = 0x10 
Valid only when roRunOnStartupIfCleanShutdown or roRunOnStartupIfDirtyShutdown is specified: the job restarts from the beginning of the step that was executing when the service shut down. 
roUseCheckpoint = 0x20 
Valid only when roRunOnStartupIfCleanShutdown or roRunOnStartupIfDirtyShutdown is specified: the most recent checkpoint set by the job is passed to the new instance. 
roRestartFromNextStep = 0x40 
Valid only when roRunOnStartupIfCleanShutdown or roRunOnStartupIfDirtyShutdown is specified: the job restarts from the beginning of the step after the step that was executing when the service shut down. 
adTempus API Reference version 3.0.0.0, revised 10/30/2008