diff --git a/machine.yml b/machine.yml index f62bd66..f18a57f 100644 --- a/machine.yml +++ b/machine.yml @@ -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. # ---------------------------------------------------------------------------------------------- diff --git a/root/etc/systemd/system/zfs-scrub-monthly@.timer b/root/etc/systemd/system/zfs-scrub-monthly@.timer index 9030684..d3d6b0b 100644 --- a/root/etc/systemd/system/zfs-scrub-monthly@.timer +++ b/root/etc/systemd/system/zfs-scrub-monthly@.timer @@ -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 diff --git a/root/etc/systemd/system/zfs-trim-monthly@.timer b/root/etc/systemd/system/zfs-trim-monthly@.timer index 8c13ffb..c8930cb 100644 --- a/root/etc/systemd/system/zfs-trim-monthly@.timer +++ b/root/etc/systemd/system/zfs-trim-monthly@.timer @@ -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