Skip to content

Commit b1acc0e

Browse files
authored
Update cron settings (#34)
Clear the crontab on every deploy, to make sure only the entires mentioned in the playbook are installed. Adjust timing a bit.
1 parent c4ab439 commit b1acc0e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

deploy/playbooks/04_cron.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,21 @@
22
hosts: intbot_app
33

44
tasks:
5+
- name: "Wipe user's crontab"
6+
command: crontab -r
7+
58
- name: "Download pretalx data once a day"
69
ansible.builtin.cron:
7-
name: "Download pretalx data once a day at 05:05am"
10+
name: "Download pretalx data once a day at 06:05am"
811
minute: "5"
9-
hour: "5"
12+
hour: "6"
1013
job: "make prod/cron/pretalx"
1114

1215
- name: "Download pretix data once a day"
1316
ansible.builtin.cron:
14-
name: "Download pretix data once a day at 06:05am"
17+
name: "Download pretix data once a day at 07:05am"
1518
minute: "5"
16-
hour: "6"
19+
hour: "7"
1720
job: "make prod/cron/pretix"
1821

1922
- name: "Schedule standup message on Monday morning"

0 commit comments

Comments
 (0)