Heroku:当我做“heroku run console”时,我付钱吗? [英] Heroku: Am I paying when I do “heroku run console”?

查看:155
本文介绍了Heroku:当我做“heroku run console”时,我付钱吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我分别运行了三个命令( bash console node

当我做 heroku ps 我得到这个:

  $ heroku ps 
进程状态命令
------------ ------- ----------- ------------------------------
run.1 complete for 11m控制台
run.2完成8m bash
run.3完成3s节点



我付了那3个程序?我不能杀了他们。

解决方案

这些进程的状态是 complete 。他们继续在> heroku ps 中显示一段时间,但是他们是否只在实际运行时计入您的动态小时数。以下是 dyno定价文章 Heroku开发中心:


Dynos每小时花费0.05美元,按比例分配到第二位。例如,一个有四个dynos的应用程序
每四个
dynos运行的每小时收费0.20美元。

I have run three commands individually (bash, console and node).

When I do heroku ps I get this:

 $ heroku ps
Process       State               Command
------------  ------------------  ------------------------------
run.1         complete for 11m    console
run.2         complete for 8m     bash
run.3         complete for 3s     node

Am I paying for those 3 processes? I can’t kill them.

解决方案

The state of those processes is complete. They continue to be shown by heroku ps for a little bit of time but should they only count against your dyno hours when they are actually running. Here is an except from the dyno pricing article on the Heroku dev center:

Dynos cost $0.05 per hour, prorated to the second. For example, an app with four dynos is charged $0.20 per hour for each hour that the four dynos are running.

这篇关于Heroku:当我做“heroku run console”时,我付钱吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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