CronSchedule

The Cron schedule makes use of a CRON-style expression string to define the times at which jobs will be run. Note that Cron expressions have no concept of time zones, so all times are interpreted as in the local time zone.

For more information on the specific format, please see https://github.com/Kegian/cron

Constructors

this
this(CronExpr cronExpression)
Undocumented in source.
this
this(string cronExpressionString)
Undocumented in source.

Members

Functions

getNextExecutionTime
Nullable!SysTime getNextExecutionTime(SysTime currentTime)
Undocumented in source. Be warned that the author may not have intended to support it.
isRepeating
bool isRepeating()
Undocumented in source. Be warned that the author may not have intended to support it.
markExecuted
void markExecuted(SysTime executionTime)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From JobSchedule

getNextExecutionTime
Nullable!SysTime getNextExecutionTime(SysTime currentTime)

Gets the timestamp at which the scheduler should plan to execute a job with this schedule next.

markExecuted
void markExecuted(SysTime executionTime)

Marks the schedule as having been executed at the given time.

isRepeating
bool isRepeating()

Tells whether the schedule is repeating; that jobs with this schedule should be re-queued after being executed.

Meta