gpt4 book ai didi

heroku - 如何使用 Heroku 的免费站点创建计划任务?

转载 作者:行者123 更新时间:2023-12-04 08:47:55 25 4
gpt4 key购买 nike

我正在使用 Rails 4.2.7。我想用 Heroku 托管我的应用程序,所以我首先决定创建一个免费的业余爱好帐户,看看一切是如何运作的。我想创建一个每天运行的任务,因此正在阅读 Heroku 的调度程序应用程序。但是,当我尝试添加附加组件时,出现错误

$ heroku addons:create scheduler:standard
Creating scheduler:standard on ⬢ myproject... !
▸ Please verify your account to install this add-on plan (please enter a credit card) For more information, see https://devcenter.heroku.com/categories/billing Verify now at
▸ https://heroku.com/verify

我还没准备好掏钱。我如何创建计划任务,或者 Heroku 不是一个很好的托管服务,如果不是,我还应该去哪里?

最佳答案

必须验证您的帐户以使用附加组件(有一些异常(exception),例如 Heroku Postgres 和 Heroku Connect 附加组件)。

您无需花任何钱来验证您的帐户。你需要有一张有效的信用卡。 Heroku 将尝试验证信用卡,并在成功验证后验证您的帐户。您可以阅读有关接受的信用卡和详细验证程序的更多信息here .

引用上面提到的链接,

Heroku needs to be able to reliably identify and contact our users in the event of an issue. We have found that having a credit card on file provides the most reliable way of obtaining verified contact information. Account verification also helps us with abuse prevention.



如果您或您的应用的合作者想要:
  • Add any add-on to the app, even if the add-on is free. The only exceptions to this are the free plans for the Heroku Postgres and Heroku Connect add-ons, which can be added without verification.


  • If you do not have a credit or debit card (or do not have one that we are able to accept), you can still use the parts of Heroku that do not require account validation.



    因此,目前,除了使用信用卡之外,没有其他选项可用于验证您的帐户。

    我用 openshift online (1X CPU-512MB 内存-1GB 存储,3 个空闲齿轮)来自 RedHat 但最近,他们在构建时停止了新注册 Openshift Online (NEXT GEN) .您可以 apply用于开发者预览并使用 30 天,但等候名单太长。在 Developer Preview 期间,OpenShift Online (Next Gen) 是免费的(2 GiB 内存、4 个 CPU 内核和 2 x 1 GiB 持久卷,1 个项目)。

    关于heroku - 如何使用 Heroku 的免费站点创建计划任务?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39458551/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com