Search Results for

    Show / Hide Table of Contents
    View Source

    Class NCronTabParser

    Implements ICronTabParser using the NCrontab library

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Configuration
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class NCronTabParser : ICronTabParser

    Methods

    View Source

    GetNextOccurrence(String, DateTime)

    Declaration
    public DateTime GetNextOccurrence(string cronTab, DateTime time)
    Parameters
    Type Name Description
    System.String cronTab
    DateTime time
    Returns
    Type Description
    DateTime
    View Source

    IsValidCronTab(String)

    Returns a value indicating whether a given chrontab expression is valid.

    Declaration
    public bool IsValidCronTab(string cronTab)
    Parameters
    Type Name Description
    System.String cronTab

    The chrontab expression to parse.

    Returns
    Type Description
    System.Boolean

    The System.Boolean result.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetNextOccurrence(String, DateTime)
      • IsValidCronTab(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX