Skip to content

Commit e07f3fc

Browse files
author
Christopher M. Neill
committed
Merge branch 'master' into SAN-3296-buckshot-approach
2 parents 1fb7a77 + 479c60f commit e07f3fc

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

ansible/roles/khronos/tasks/main.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,23 @@
66
mode=0744
77
dest="/opt/runnable/khronos-cron.sh"
88

9-
# Run Cronjob once every day at 11:30am PST (19:30 UTC).
10-
- name: Put Khronos CLI job in place
9+
# Run Cronjob at 6 hour intervals.
10+
- name: Put Khronos CLI script in crontab
1111
sudo: yes
1212
tags: cron
13+
cron:
14+
name="Khronos CLI"
15+
minute="13"
16+
hour="1,7,13,19"
17+
job="/opt/runnable/khronos-cron.sh >> /var/log/khronos_cron.log 2>&1"
18+
19+
# Run Cronjob once every day at 11:30am PST (19:30 UTC).
20+
- name: Remove old Khronos CLI cronjob
21+
sudo: yes
22+
tags: cron
1323
cron:
1424
name="Khronos CLI Daily"
1525
minute="30"
1626
hour="19"
1727
job="/opt/runnable/khronos-cron.sh >> /var/log/khronos_cron.log 2>&1"
28+
state="absent"

0 commit comments

Comments
 (0)