cron setup

This commit is contained in:
tolerryan
2024-10-22 01:54:07 -05:00
parent 4b140be7ca
commit 1d224fbbf5

View File

@@ -11,10 +11,10 @@
tasks: tasks:
- name: Set up restic cron jobs - name: Set up restic cron jobs
cron: cron:
name: "{{ job_name }}" name: "{{ item.job_name }}"
minute: "{{ job_minute }}" minute: "{{ item.job_minute }}"
hour: "{{ job_hour }}" hour: "{{ item.job_hour }}"
weekday: "{{ job_day }}" weekday: "{{ item.job_day }}"
job: "{{ job_command }}" job: "{{ item.job_command }}"
user: "restic" user: "restic"
state: present state: present