Restart my heroku application automatically

后端 未结 7 1533
北海茫月
北海茫月 2020-12-13 08:01

This terminal command restarts my heroku application:

heroku restart

Is there a way to run a script that will run this command and restart

相关标签:
7条回答
  • 2020-12-13 08:57

    As far as I can tell, simply running heroku ps:restart --app APPNAME in the Heroku Scheduler add-on works fine. It's unclear to me why the additional steps in other answers are necessary.

    0 讨论(0)
提交回复
热议问题