Browse Source

random sleep before borgmatic cron job execution

master
HgO 1 year ago
parent
commit
80257c17e5
  1. 2
      roles/common/tasks/backup_borg.yml

2
roles/common/tasks/backup_borg.yml

@ -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…
Cancel
Save