-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path04_cron.yml
More file actions
30 lines (26 loc) · 907 Bytes
/
04_cron.yml
File metadata and controls
30 lines (26 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
- name: Scheduled tasks using the bot user
hosts: intbot_app
tasks:
- name: "Wipe user's crontab"
command: crontab -r
- name: "Download pretalx data once a day"
ansible.builtin.cron:
name: "Download pretalx data once a day at 06:05am"
minute: "5"
hour: "6"
job: "make prod/cron/pretalx"
- name: "Download pretix data once a day"
ansible.builtin.cron:
name: "Download pretix data once a day at 07:05am"
minute: "5"
hour: "7"
job: "make prod/cron/pretix"
# NOTE(artcz): Commented out for now, to rest a bit after the conference :)
# Let's bring it back in a few weeks :)
#- name: "Schedule standup message on Monday morning"
# ansible.builtin.cron:
# name: "Send a standup message"
# minute: "5"
# hour: "9"
# weekday: "1"
# job: "make prod/cron/standup"