Fix mismatch with the ansible cron interface

This commit is contained in:
Kris Lamoureux 2021-06-04 19:24:27 -04:00
parent d9ab865fd9
commit 38d1cd78e1
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ rsnapshot:
- interval: daily
minute: "1-59/2" # every odd minute
#minute: 0
#hourly: 0
#hour: 0
backups:
- name: staticsite
source: "/opt/nginx/{{ nginx_name }}/"

View File

@ -43,7 +43,7 @@
job: "/usr/bin/rsnapshot -c {{ rsnapshot_confdir }}/{{ item.0.name }}.conf {{ item.1.interval }}"
user: "root"
minute: "{{ item.1.minute | default('*') }}"
hour: "{{ item.1.hourly | default('*') }}"
hour: "{{ item.1.hour | default('*') }}"
day: "{{ item.1.day | default('*') }}"
weekday: "{{ item.1.weekday | default('*') }}"
month: "{{ item.1.month | default('*') }}"