Search Results for

    Show / Hide Table of Contents
    View Source

    Class ScheduledPublishingSettings

    Settings for scheduled publishing.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    [UmbracoOptions("Umbraco:CMS:ScheduledPublishing")]
    public class ScheduledPublishingSettings

    Constructors

    View Source

    ScheduledPublishingSettings()

    Declaration
    public ScheduledPublishingSettings()

    Properties

    View Source

    AlignToClock

    Gets or sets a value indicating whether scheduled publishing runs are aligned to clock boundaries derived from Period (for example, on the minute, or every N seconds), rather than drifting based on when the previous run completed.

    Declaration
    public bool AlignToClock { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    When enabled, Period must be a whole number of seconds that divides evenly into one hour (for example 10, 12, 15, 20, 30 or 60 seconds) so that boundaries land on consistent clock times. Boundaries are anchored to UTC, not the server's local time zone; for sub-minute and whole-minute periods this is indistinguishable from local time at the second level.

    View Source

    Period

    Gets or sets a value for how often scheduled publishing runs.

    Declaration
    public TimeSpan Period { get; set; }
    Property Value
    Type Description
    TimeSpan
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX