cron
cron expression parsing and next-run calculation.
Load with: use cron
Quick example
use cron
result = cronp("value")
prn(result)
Functions
Parse cron expression (5 fields: min hour dom mon dow)
cronp(s)
Performs the operation. Takes s.
cronf(f, lo, hi)
Performs the operation. Takes f, lo, hi.
crona(lo, hi)
Performs the operation. Takes lo, hi.
cronr(s, e)
Performs the operation. Takes s, e.
crons(lo, hi, st)
Performs the operation. Takes lo, hi, st.
Check if time matches cron expression
crono(c, t)
Performs the operation. Takes c, t.
croni(lst, v)
Performs the operation. Takes lst, v.
Get next run time after now
cronx(c, now)
Performs the operation. Takes c, now.
timbr(t)
Performs the operation. Takes t.
Common presets
cronm()
Performs the operation.
cronh()
Performs the operation.
crond()
Performs the operation.
cronw()
Performs the operation.
cronm()
Performs the operation.
Format cron expression to readable
crons(c)
Performs the operation. Takes c.
Notes
- Cron-style job scheduling - parse expressions, compute next run times.