Std.Cron
7 public declarations
- CronError
Why a schedule expression was refused.
- explain
&Std.Cron.CronError -> StrA one-line description of a refusal.
- matches
&Std.Cron.Schedule -> &Std.Time.Instant -> BoolWhether the minute containing
moment(UTC) is one the schedule fires in. - next
&Std.Cron.Schedule -> &Std.Time.Instant -> Option[Std.Time.Instant]The first minute strictly after
after(UTC) that the schedule fires in. - parse
Str -> Result[Std.Cron.Schedule, Std.Cron.CronError]Parses a five-field expression or one of
@yearly,@annually, - Schedule
A five-field schedule: minute, hour, day of month, month, day of week.
- upcoming
&Std.Cron.Schedule -> &Std.Time.Instant -> Int -> Array[Std.Time.Instant]Up to
countsuccessive firing minutes afterafter.
