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