How to stop an app on Heroku?

后端 未结 9 959
猫巷女王i
猫巷女王i 2020-12-22 15:10

I have an app on Heroku which is being used by few users. However, I notice there are some data issues which i\'d like to fix and stop the app in the mean time so users don\

9条回答
  •  独厮守ぢ
    2020-12-22 15:30

    You might have to be more specific and specify the app name as well (this is the name of the app as you have it in heroku). For example:

    heroku ps:scale web=0 --app myAppName 
    

    Otherwise you might get the following message:

     % heroku ps:scale web=0
    Scaling dynos... failed
     !    No app specified.
     !    Run this command from an app folder or specify which app to use with --app APP.
    

提交回复
热议问题