如何使用 Heroku 的免费站点创建计划任务?
How do I create a scheduled task with Heroku's free site?
我正在使用 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
我还没准备好 shell 出任何钱。我如何创建计划任务,或者 Heroku 不是一个好的托管服务吗?如果不是,我应该去哪里?
您必须验证您的帐户才能使用附加组件(有一些例外情况,例如 Heroku Postgres 和 Heroku Connect 附加组件)。
您不需要花任何钱来验证您的帐户。您需要有一张有效的信用卡。 Heroku 将尝试验证信用卡,验证成功后,您的帐户将得到验证。您可以阅读有关接受的信用卡和详细验证程序的更多信息 here。
引用上面提到的link,
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 memory-1GB storage, 3 free gear) from RedHat but recently, they stopped new registration as they are building Openshift Online (NEXT GEN). You can apply 进行开发者预览并使用了 30 天,但候补名单太长了。在开发者预览期间,OpenShift Online(下一代)免费(2 GiB 内存、4 CPU 内核和 2 x 1 GiB 持久卷,1 个项目)。
我正在使用 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
我还没准备好 shell 出任何钱。我如何创建计划任务,或者 Heroku 不是一个好的托管服务吗?如果不是,我应该去哪里?
您必须验证您的帐户才能使用附加组件(有一些例外情况,例如 Heroku Postgres 和 Heroku Connect 附加组件)。
您不需要花任何钱来验证您的帐户。您需要有一张有效的信用卡。 Heroku 将尝试验证信用卡,验证成功后,您的帐户将得到验证。您可以阅读有关接受的信用卡和详细验证程序的更多信息 here。
引用上面提到的link,
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 memory-1GB storage, 3 free gear) from RedHat but recently, they stopped new registration as they are building Openshift Online (NEXT GEN). You can apply 进行开发者预览并使用了 30 天,但候补名单太长了。在开发者预览期间,OpenShift Online(下一代)免费(2 GiB 内存、4 CPU 内核和 2 x 1 GiB 持久卷,1 个项目)。