Remove zfs cron job and update zfs systemd timers

This commit is contained in:
Wojciech Kozlowski 2022-09-11 19:08:59 +02:00
parent b800ccbdc8
commit 7ef18f5a2b
3 changed files with 7 additions and 2 deletions

View File

@ -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.
# ---------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------

View File

@ -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

View File

@ -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