File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ GitHub Actions に `deploy` workflow を入れることもできましたが、
151151
152152最新版は [ scripts/release.sh] ( https://github.com/coderdojo-japan/coderdojo.jp/blob/main/scripts/release.sh ) からご確認いただけます。
153153
154- ```
154+ ``` console
155155# データベースのマイグレーション
156156bundle exec rails db:migrate
157157
@@ -171,6 +171,18 @@ bundle exec rails dojo_event_services:upsert
171171bundle exec rails podcasts:upsert
172172```
173173
174+ ### ⏰ 定期的に実行されるスクリプト (Heroku Scheduler)
175+
176+ 以下のコマンドは上記 CI とは関係なく、定期的に実行されます。
177+
178+ ``` console
179+ # 【毎日】近日開催のイベント収集 (Daily at 9:00 PM UTC)
180+ $ bundle exec rails upcoming_events:aggregation
181+
182+ # 【毎週】統計情報ページ用のデータ収集 (Daily at 1:00 AM UTC)
183+ $ [ $( date +%u) = 1 ] && bundle exec rails statistics:aggregation
184+ ```
185+
174186
175187<!--
176188### :cloud: Development with Scrivito
You can’t perform that action at this time.
0 commit comments