random sleep before borgmatic cron job execution
parent
2f7586abab
commit
80257c17e5
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue