Restarting the app would definitely not be the best solution.
heroku isn't 100% of the time available
See their status page.
There is pingdom though, which will ping your app and notify you if it is down.
But won't take any action for you.
题
I know it's not the nice way, but does anyone of you know a service where I can run a heartbeat to my heroku application and if it fails for a couple of minutes to respond to call heroku restart
and send me an email?
Would be a really nice feature for me...
Thanks a lot!
Cheers!
解决方案
Restarting the app would definitely not be the best solution.
heroku isn't 100% of the time available
See their status page.
There is pingdom though, which will ping your app and notify you if it is down.
But won't take any action for you.