Skip to content

Commit bfc543f

Browse files
author
Christopher M. Neill
committed
hope this is syntactically corrent
1 parent 5b3376d commit bfc543f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • ansible/roles/khronos_crontab/tasks
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
# Run Cronjob once every day at UTC 0400.
2-
- cron: name="Khronos CLI Daily" minute="0" hour="4" job="/khronos/bin/cli.js --queue khronos:queue:name --job '{}' --host {{ rabbit_host }}:{{ rabbit_port }} --username {{ rabbit_user }} --passwword {{ rabbit_password }} | tee -a /var/log/khronos_cron.log"
2+
- name: "Put Khronos CLI job in place."
3+
sudo: yes
4+
cron:
5+
name="Khronos CLI Daily"
6+
minute="0"
7+
hour="4"
8+
job="/khronos/bin/cli.js --queue khronos:queue:name --job '{}' --host {{ rabbit_host }}:{{ rabbit_port }} --username {{ rabbit_user }} --password {{ rabbit_password }} > /var/log/khronos_cron.log 2>&1"

0 commit comments

Comments
 (0)