random sleep before borgmatic cron job execution

master
HgO 2021-02-09 19:13:03 +01:00
parent 2f7586abab
commit 80257c17e5
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
hour: "{{ borgmatic_cron_hour }}"
minute: "{{ borgmatic_cron_minute }}"
state: present
job: borgmatic --create --prune
job: sleep $((RANDOM % 3600)) && borgmatic --create --prune
- name: Add cron job for unfrequent Borgmatic check
cron: