展开目录
heroku查看app使用时间
heroku
X
陈尼玛的博客
记录开发生涯的踩坑经历,用时间来验证成长
加载中

如果已经登陆了账户,则输入如下命令查看运行时间:

heroku ps -a ssgss-z

输出效果

root@raspberrypi:~# heroku ps -a ssgss-z
Free dyno hours quota remaining this month: 550h 0m (100%)
Free dyno usage for this app: 0h 0m (0%)
For more information on dyno sleeping and how to upgrade, see:
https://devcenter.heroku.com/articles/dyno-sleeping

=== web (Free): node index.js (1)
web.1: up 2019/02/26 16:31:51 +0800 (~ 1h ago)

可以看到总共剩余的免费时间和已运行的时间,<font color=red>每月免费时间到期</font>之后,进程会立刻退出,所以最好定期检查一下已运行的时间。这个时间指的是该账号下<font color=red>所有的应用</font>加在一起的免费运行时间,不是每个应用都有这么多免费时间可以用。按照现在一个账号分配550小时/月的算法,其实顶多放一个应用在上面跑(免费应用每24小时<font color=red>强制休眠7小时</font>)。

相关文档

  1. heroku登陆cli

随便看看

  1. git 大小写不区分问题

  2. css3自定义滚动条样式

  3. 华为等国产手机rem宽度超过实际宽度

  4. nginx 子域名对应文件夹

  5. sass变量和继承类写法

  6. raw.githubusercontent.com DNS被指向127.0.0.1

  7. nodejs本地双向代理 端口转发

  8. nodejs socks5

  9. 模拟307跳转情况

  10. webrtc服务搭建

  11. 单页应用的单向数据流的流程图

  12. putty使用http代理连接服务器

  13. centos查看最近一次的开机时间

  14. replace2正则扩展方法

  15. 猴子选大王算法问题

  16. youku电脑版跳过广告代码

  17. html表格导出csv文件并下载

畅言模块加载中