spring-grasshopper-86

Development journal of Zeke Sikelianos, the eighty-sixth herokai.

Keeping Your Unidyno Humming

If you’ve got a single-dyno app that keeps winding down from inactivity and consequently taking a long time to restart, you can use the free heroku scheduler addon to keep it alive.

heroku addons:add scheduler:standard
heroku addons:open scheduler

Add a scheduler job that uses curl to ping your app every ten minutes:

curl http://my-app.herokuapp.com

Here’s what it looks like:

heroku scheduler

Comments