Oban.Cron
oban · API reference
Match standard five-field UTC cron expressions with Ptime.
type ttype error = [
| `Invalid_expression of string
]val parse : string -> (t, error) resultval matches : t -> Ptime.t -> boolval next_after : t -> Ptime.t -> Ptime.t optionSearch at most one 400-year Gregorian calendar cycle.