Fully resolve path to sanoid
Apparently cron didn't like just `sanoid`
This commit is contained in:
parent
a2e021ac43
commit
1bcb8f22b1
1 changed files with 2 additions and 2 deletions
|
@ -64,12 +64,12 @@
|
|||
cron:
|
||||
name: sanoid snapshot
|
||||
special_time: hourly
|
||||
job: TZ=UTC sanoid --take-snapshots --verbose
|
||||
job: TZ=UTC /usr/local/sbin/sanoid --take-snapshots --verbose
|
||||
become: true
|
||||
|
||||
- name: Install prune job
|
||||
cron:
|
||||
name: sanoid prune
|
||||
special_time: hourly
|
||||
job: TZ=UTC sanoid --prune-snapshots --verbose
|
||||
job: TZ=UTC /usr/local/sbin/sanoid --prune-snapshots --verbose
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue