如何停止heroku服务器? [英] How to stop a heroku server?

查看:115
本文介绍了如何停止heroku服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 heroku 上托管了一个临时服务器,我只想将其关闭,但不想破坏应用程序.我该怎么做?我有像 'heroku stop' 这样的命令来重启吗?

I have a staging server hosted on heroku, I just want to bring it down, but not destroy the app. How can I do it? Do I have any command like 'heroku stop' like 'heroku restart' for restarting?

有没有办法让服务器在超过 750 小时免费使用时自动关闭?

Is there a way to automate the server to turn off itself when it exceeds the 750 hr free usage?

实际上我不想要服务器,所以我试图停止它,或者让它空闲时间.

Actually I don't want the server so I am trying to stop it, or leave it for the free hours.

推荐答案

登录账号,点击资源,然后将 dyno count 降为 0 并保存.现在您可以通过尝试打开该站点来进行检查.它会下来.

Login to the account, and click on the resource and then bring down the dyno count to 0 and the save. Now you can check by trying to open the site. It will be down.

这篇关于如何停止heroku服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆