Schedules are generally available
Cron schedules with time zones leave beta, with overlap control, pause and resume, and a preview of the next runs before you save.
- NewSchedules API: create, update, pause, resume and delete recurring jobs with
POST /schedules. - NewIANA time zones on schedules, with correct handling of daylight saving transitions.
- New
overlapoption (skip,queueorallow) decides what happens when a run is still going. - Improved
GET /schedules/:id/previewreturns the next 10 run times so you can check an expression. - ImprovedNode.js SDK 3.4.2 and Python SDK 3.4.0 ship typed schedule helpers.
- FixedJobs scheduled exactly at a minute boundary no longer occasionally ran one second early.
const schedule = await halyard.schedules.create({ cron: "0 9 * * MON-FRI", timezone: "Europe/Berlin", overlap: "skip", job: { queue: "reports", task: "build-daily-report", payload: { team_id: "team_42Rv" }, },}); console.log(schedule.id, schedule.next_run_at); // sch_8Hd3Kw1Pz5