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

Class DelayedPublishJob

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. A scheduled job that publishes pages that have been marked for delayed publish

Inheritance
System.Object
DelayedPublishJob
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.Util
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
[ScheduledPlugIn(DisplayName = "Publish delayed pages", LanguagePath = "/admin/databasejob/delayedpublish", HelpFile = "delayedpublishjob", DefaultEnabled = true, IntervalLength = 1, IntervalType = ScheduledIntervalType.Hours)]
[ServiceConfiguration]
public class DelayedPublishJob : ScheduledJobBase

Constructors

DelayedPublishJob()

Initializes a new instance of the DelayedPublishJob class.

Declaration
public DelayedPublishJob()

Methods

Execute()

Start job

Declaration
public override string Execute()
Returns
Type Description
System.String
Overrides

Execute(IContentRepository)

Start job

Declaration
[Obsolete("Use parameterless overload and pass the dependency to constructor instead.")]
public string Execute(IContentRepository contentRepository)
Parameters
Type Name Description
IContentRepository contentRepository

The content repository.

Returns
Type Description
System.String

Stop()

Declaration
public override void Stop()
Overrides

Extension Methods