add cron config
This commit is contained in:
parent
a1209ca8c2
commit
6bd9aeb627
3 changed files with 17 additions and 3 deletions
|
|
@ -89,10 +89,11 @@
|
|||
- name: client | create backup cronjob
|
||||
cron:
|
||||
cron_file: "borg-backup"
|
||||
user: "root"
|
||||
user: "{{ borgbackup_cron_user }}"
|
||||
name: "borg-backup"
|
||||
minute: "{{ 59|random }}"
|
||||
hour: "{{ 5|random }}"
|
||||
minute: "{{ borgbackup_cron_minute }}"
|
||||
hour: "{{ borgbackup_cron_hour }}"
|
||||
day: "{{ borgbackup_cron_day }}"
|
||||
job: "/usr/local/bin/borg-backup backup"
|
||||
|
||||
- name: client | disable automysqlbackup cronjob, it's in our pre-backup-tasks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue