Skip to main content

Module schedule

Module schedule 

Source
Expand description

Next-fire computation for job schedules: Quartz cron expressions, periodic triggers, file-arrival triggers and continuous mode.

Structs§

NextRun
When a job will run next, derived from its settings.

Functions§

fmt_eta
Compact countdown to a future epoch-ms instant, e.g. “in 2h 15m”.
next_fire
Next fire of a Quartz cron expression in an IANA timezone, as epoch ms. Unknown timezones fall back to UTC; an unparseable cron yields None.
next_run
Derives the next run from a job’s settings (schedule, trigger, continuous), using the last run start for periodic triggers. None for jobs that only run on demand.