Remove zfs cron job and update zfs systemd timers
This commit is contained in:
parent
b800ccbdc8
commit
7ef18f5a2b
@ -310,6 +310,11 @@
|
||||
enabled: yes
|
||||
state: started
|
||||
|
||||
- name: Remove the zfsutils cron job
|
||||
file:
|
||||
state: absent
|
||||
path: /etc/cron.d/zfsutils-linux
|
||||
|
||||
# ----------------------------------------------------------------------------------------------
|
||||
# UPS configuration.
|
||||
# ----------------------------------------------------------------------------------------------
|
||||
|
@ -3,7 +3,7 @@ Description=Monthly zpool scrub timer for %i
|
||||
Documentation=man:zpool-scrub(8)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=monthly
|
||||
OnCalendar=Sun *-*-08..14 02:00:00
|
||||
Persistent=true
|
||||
RandomizedDelaySec=1h
|
||||
Unit=zfs-scrub@%i.service
|
||||
|
@ -3,7 +3,7 @@ Description=Monthly zpool trim timer for %i
|
||||
Documentation=man:zpool-trim(8)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=monthly
|
||||
OnCalendar=Sun *-*-01..07 02:00:00
|
||||
Persistent=true
|
||||
RandomizedDelaySec=1h
|
||||
Unit=zfs-trim@%i.service
|
||||
|
Loading…
Reference in New Issue
Block a user