Watchfire
The scheduler
The scheduler. w.schedule() takes a target, .job(J) (dispatches it), .call(name, closure) or
.agent(name) (starts it when it is stopped, completed, failed or backing off), and a timing: .every(d), .every_minute(),
.hourly(), .daily(), .daily_at("03:00"), .weekly() or .cron("m h dom mon dow") (five fields with *, lists,
ranges and steps, in UTC). .overlap(Overlap::Skip) (default) skips a call that is still running,
Overlap::Queue runs it once the previous one finishes, Overlap::Allow runs both. The clock is an agent named
scheduler. schedule:run runs the tasks due this minute once, for system cron. .every(d) runs first d after
launch; with a shared lock store (see "Several processes") it runs on multiples of d since the Unix epoch instead,
so that every process agrees on the ticks.