Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class SchedulerOptions

Contains settings for the scheduler

Inheritance
System.Object
SchedulerOptions
Namespace: EPiServer.Scheduler
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[Options(ConfigurationSection = "Cms")]
public class SchedulerOptions : Object

Constructors

SchedulerOptions()

Declaration
public SchedulerOptions()

Properties

ContentCacheSlidingExpiration

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

Declaration
public Nullable<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