Restart my heroku application automatically

后端 未结 7 1566
北海茫月
北海茫月 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.

提交回复
热议问题