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

Class SchedulerOptions

Contains settings for the scheduler

Inheritance
System.Object
SchedulerOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Scheduler
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[Options]
public class SchedulerOptions

Constructors

SchedulerOptions()

Declaration
public SchedulerOptions()

Properties

ContentCacheSlidingExpiration

The sliding cache for how long content is cached when retrieved from a scheduled job.

Declaration
public TimeSpan? ContentCacheSlidingExpiration { get; set; }
Property Value
Type Description
System.Nullable<System.TimeSpan>
Remarks

Default value is 1 minutes. Set to "0:0:0" to disable or null to use system wide defaults.

Use ContentCacheScope to set a custom expiration within a specific job.

Enabled

Set to false to disable the scheduler. Default value is true.

Declaration
public bool Enabled { get; set; }
Property Value
Type Description
System.Boolean

MaximumExecutionAttempts

Indicates the maximum number times jobs should be executed in case a controlled or uncontrolled server shutdown interrupted their execution. Default value is 10. ///

Declaration
public int MaximumExecutionAttempts { get; set; }
Property Value
Type Description
System.Int32

PingTime

Scheduler ping time. Default value is 30 seconds.

Declaration
public TimeSpan PingTime { get; set; }
Property Value
Type Description
System.TimeSpan

Extension Methods