Pudu programming language
Menu
API reference

Std.Cron.parse

1 declaration

fn

parse: Str -> Result[Std.Cron.Schedule, Std.Cron.CronError]

Parses a five-field expression or one of @yearly, @annually, @monthly, @weekly, @daily, @midnight, @hourly.

Fields accept *, n, a-b, */s, a-b/s, a/s, and comma lists. Months accept JAN..DEC; weekdays accept SUN..SAT, and 7 is Sunday.

Back to Std.CronSearch related declarations