November Happy Hour will be moved to Thursday December 5th.

Class ScheduledJobExtensions

Help methods for ScheduledJob

Inheritance
System.Object
ScheduledJobExtensions
Namespace: EPiServer.Scheduler.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public static class ScheduledJobExtensions : Object

Methods

IsRestartable(ScheduledJob, Int32)

Declaration
public static bool IsRestartable(this ScheduledJob job, int maxRestartAttempts)
Parameters
Type Name Description
ScheduledJob job
System.Int32 maxRestartAttempts
Returns
Type Description
System.Boolean

MissingPings(ScheduledJob, SchedulerOptions)

Declaration
public static bool MissingPings(this ScheduledJob job, SchedulerOptions options)
Parameters
Type Name Description
ScheduledJob job
SchedulerOptions options
Returns
Type Description
System.Boolean

ShouldExecuteImmediately(ScheduledJob, SchedulerOptions)

Declaration
public static bool ShouldExecuteImmediately(this ScheduledJob job, SchedulerOptions options)
Parameters
Type Name Description
ScheduledJob job
SchedulerOptions options
Returns
Type Description
System.Boolean