Kubernetes Hub / cron
CronJob Schedule
Compute the next runs of a spec.schedule with timezone support, just like a Kubernetes CronJob.
cron expression
minute0–59
hour0–23
day (m)1–31
month1–12
day (w)0–6 (sun=0)
spec.timeZone
/
schedule: "0 9 * * 1-5"
timeZone: "Europe/Rome"
timeZone: "Europe/Rome"
syntax reference
*any value5exact value1,3,5list of values1-5range (1 through 5)*/15step (every 15)1-9/2step within rangesun-satday names (sun=0)jan-decmonth namesgianluca@k8s:~$ next-runs --schedule "0 9 * * 1-5" --tz Europe/Rome
# next 5 scheduled runs
gianluca@k8s:~$