random sleep before borgmatic cron job execution
parent
2f7586abab
commit
80257c17e5
|
@ -38,7 +38,7 @@
|
||||||
hour: "{{ borgmatic_cron_hour }}"
|
hour: "{{ borgmatic_cron_hour }}"
|
||||||
minute: "{{ borgmatic_cron_minute }}"
|
minute: "{{ borgmatic_cron_minute }}"
|
||||||
state: present
|
state: present
|
||||||
job: borgmatic --create --prune
|
job: sleep $((RANDOM % 3600)) && borgmatic --create --prune
|
||||||
|
|
||||||
- name: Add cron job for unfrequent Borgmatic check
|
- name: Add cron job for unfrequent Borgmatic check
|
||||||
cron:
|
cron:
|
||||||
|
|
Loading…
Reference in New Issue