Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IRecurringBackgroundJob

    A recurring background job

    Namespace: Umbraco.Cms.Infrastructure.BackgroundJobs
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IRecurringBackgroundJob

    Fields

    View Source

    DefaultDelay

    Declaration
    public static readonly TimeSpan DefaultDelay
    Field Value
    Type Description
    TimeSpan
    View Source

    DefaultServerRoles

    Declaration
    public static readonly ServerRole[] DefaultServerRoles
    Field Value
    Type Description
    ServerRole[]

    Properties

    View Source

    Delay

    Timespan representing the initial delay after application start-up before the first run of the task occurs.

    Declaration
    virtual TimeSpan Delay { get; }
    Property Value
    Type Description
    TimeSpan
    View Source

    Period

    Timespan representing how often the task should recur.

    Declaration
    TimeSpan Period { get; }
    Property Value
    Type Description
    TimeSpan
    View Source

    ServerRoles

    Declaration
    virtual ServerRole[] ServerRoles { get; }
    Property Value
    Type Description
    ServerRole[]

    Methods

    View Source

    RunJobAsync()

    Declaration
    Task RunJobAsync()
    Returns
    Type Description
    Task

    Events

    View Source

    PeriodChanged

    Declaration
    event EventHandler PeriodChanged
    Event Type
    Type Description
    EventHandler
    • Improve this Doc
    • View Source
    In This Article
    • Fields
      • DefaultDelay
      • DefaultServerRoles
    • Properties
      • Delay
      • Period
      • ServerRoles
    • Methods
      • RunJobAsync()
    • Events
      • PeriodChanged
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX