File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change
1
+ - name : Scheduled tasks using the bot user
2
+ hosts : intbot_app
3
+
4
+ tasks :
5
+ - name : " Download pretalx data every hour"
6
+ ansible.builtin.cron :
7
+ name : " Download pretalx data every hour"
8
+ minute : " 5" # run on the 5th minute of every hour
9
+ job : " make prod/cron/pretalx"
Original file line number Diff line number Diff line change
1
+ MAKE_APP="docker compose run app make"
1
2
2
3
echo:
3
4
"Dummy target, to not run something accidentally"
4
5
5
6
prod/migrate:
6
- docker compose run app make in-container/migrate
7
+ $(MAKE_APP) in-container/migrate
7
8
8
9
prod/shell:
9
- docker compose run app make in-container/shell
10
+ $(MAKE_APP) in-container/shell
10
11
11
12
prod/db_shell:
12
- docker compose run app make in-container/db_shell
13
+ $(MAKE_APP) in-container/db_shell
13
14
14
15
prod/manage:
15
- docker compose run app make in-container/manage ARG=$(ARG)
16
+ $(MAKE_APP) in-container/manage ARG=$(ARG)
17
+
18
+ prod/cron/pretalx:
19
+ $(MAKE_APP) in-container/manage ARG="download_pretalx_data --event=europython-2025"
16
20
17
21
logs:
18
22
docker compose logs -f
You can’t perform that action at this time.
0 commit comments