Browse Source

Add crontab entry for sending.

master
Chris Smith 9 years ago
parent
commit
10b1610c1a
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      local-roles/ds-tools/tasks/main.yml

+ 8
- 0
local-roles/ds-tools/tasks/main.yml View File

@@ -37,3 +37,11 @@
37 37
     owner: "{{ ds_user }}"
38 38
   tags: [ds-tools]
39 39
 
40
+- name: add crontab
41
+  cron: name="send dutysheet"
42
+        user={{ ds_user }}
43
+        minute=0
44
+        hour=16
45
+        weekday=2
46
+        job="(cd {{ ds_dir }} && ./send-dutysheets.py)"
47
+

Loading…
Cancel
Save