31
31

More than 5 years have passed since last update.

【調査】HerokuにCronは無くなってしまったけれど…

Last updated at Posted at 2013-03-23

今はHerokuSchedulerがあるぜ!
https://devcenter.heroku.com/articles/scheduler

ドキュメントはRuby中心で書けれているけれどnode.jsでも動かせる様子。
http://www.youtalk.jp/post/13964633597/heroku-scheduler
詳しくはこのへん
https://devcenter.heroku.com/articles/scheduler#defining-tasks

導入すると下記の用に表示される。
Added scheduler:standard to yourappname. This add-on consumes dyno hours, which could impact your monthly bill. To learn more: http://devcenter.heroku.com/addons_with_dyno_hour_usage
To manage scheduled jobs run: heroku addons:open scheduler

適当な訳:
schedhler:standardを[yourappname]に追加したよ(無料だ)。このアドオンはdyno hoursを消費するので、monthly billに影響するでしょう。もっと知りたかったらhttp://devcenter.heroku.com/addons_with_dyno_hour_usage
へどうぞ。
ジョブを管理したいならheroku addons:open schedulerを実行してね。

リンク先は切れていたが、下記の様子。
https://devcenter.heroku.com/articles/addons-with-dyno-hour-usage

課金が750時間無料枠ということらしく、これを溢れない程度に利用していれば無料で使えるようだ。
https://devcenter.heroku.com/articles/usage-and-billing

まだ実装していないので調査まで。

31
31
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
31
31