Try our conversational search powered by Generative AI!

Class JobExecutionOptions

Options on how IScheduledJobExecutor should execute a job.

Inheritance
System.Object
JobExecutionOptions
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
public class JobExecutionOptions

Constructors

JobExecutionOptions()

Declaration
public JobExecutionOptions()

Properties

ContentCacheSlidingExpiration

The sliding cache for how long content is cached when executed. Set to "0:0:0" to disable.

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

RunSynchronously

Gets or sets a value indicating if the job should be executed synchronously.

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

Trigger

Get or sets a value that indicates how the job was triggered

Declaration
public ScheduledJobTrigger Trigger { get; set; }
Property Value
Type Description
ScheduledJobTrigger

Extension Methods