Heroku Scheduler Monitor Is Now Generally Available
Heroku Scheduler Monitor is now generally available, with four plans that follow Heroku dyno tiers. Apps installed during the beta keep their Test plan.
Scheduler Monitor is now generally available.
View on the Heroku Elements MarketplaceHeroku Scheduler Monitor is now generally available, with four plans that follow Heroku dyno tiers. Apps installed during the beta keep their Test plan.
Heroku Scheduler can skip a run, run a job twice, or stop it partway. Make each job safe to repeat, let the next run catch up, finish well inside the interval, shut down cleanly on SIGTERM, stay under the one-off dyno limit, and report every result.
Run a Heroku Scheduler job weekly, monthly, or every few hours: schedule it daily or hourly and add a check that exits early when it isn't due.
You can add, edit, and delete Heroku Scheduler jobs, but not pause them, and maintenance mode doesn't stop them. Keep your jobs, check a config var at the top of each one, and switch them off and on with a single command.
Heroku Scheduler has no Run button, and heroku run skips the time to live a scheduled run gets. Start the job with heroku run:detached, then add the same TTL through the Platform API, so your test stops where a scheduled run would.
A Heroku Scheduler job that runs past its interval is stopped: Heroku sends the dyno SIGTERM, and on the Common Runtime it exits with status 143. Here is how to confirm that in your logs, and three ways to keep long work running to the end.