Class NCronTabParser
Implements ICronTabParser using the NCrontab library
Inheritance
System.Object
      Namespace: Umbraco.Cms.Core.Configuration
Assembly: Umbraco.Infrastructure.dll
Syntax
public class NCronTabParser : ICronTabParserMethods
View SourceGetNextOccurrence(String, DateTime)
Declaration
public DateTime GetNextOccurrence(string cronTab, DateTime time)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | cronTab | |
| DateTime | time | 
Returns
| Type | Description | 
|---|---|
| DateTime | 
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. |