Does Maintenance Mode Disable Scheduler on Heroku
heroku
Solution
Nope. The only thing maintenance mode does is tell the router to refuse to forward new web requests. Everything else still runs, including one-off dynos (which the scheduler uses): https://devcenter.heroku.com/articles/maintenance-mode
One way to work around this would be to have your scheduled tasks just enqueue a job in a delayed job processing system (like delayed_job or resque). That way, you can scale the worker dynos down to 0 and nothing serious should happen during downtime, instead of the database or external services accidentally being written to.
Problem
Does maintenance mode turn off scheduler? If not does a way exist to temporarily disable scheduler without manually deleting every item?