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 を入れることもできましたが、
151
151
152
152
最新版は [ scripts/release.sh] ( https://github.com/coderdojo-japan/coderdojo.jp/blob/main/scripts/release.sh ) からご確認いただけます。
153
153
154
- ```
154
+ ``` console
155
155
# データベースのマイグレーション
156
156
bundle exec rails db:migrate
157
157
@@ -171,6 +171,18 @@ bundle exec rails dojo_event_services:upsert
171
171
bundle exec rails podcasts:upsert
172
172
```
173
173
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
+
174
186
175
187
<!--
176
188
### :cloud: Development with Scrivito
You can’t perform that action at this time.
0 commit comments