From 871a342f2f2ff1a6b9e9929fb8243f78f849bb0a Mon Sep 17 00:00:00 2001 From: Cyberes Date: Mon, 26 Feb 2024 22:05:06 -0700 Subject: [PATCH] update smartctl services --- services/smartctl-test-disks-long.timer | 8 ++++---- services/smartctl-test-disks-short.timer | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/services/smartctl-test-disks-long.timer b/services/smartctl-test-disks-long.timer index 0404209..1aa30d2 100644 --- a/services/smartctl-test-disks-long.timer +++ b/services/smartctl-test-disks-long.timer @@ -1,9 +1,9 @@ [Unit] -Description=Smartctl Run Short Test every week +Description=Smartctl run a long test every month on Monday [Timer] -OnBootSec=monthly -OnUnitActiveSec=monthly +OnCalendar=Monday *-*-01..07 00:00:00 +Persistent=true [Install] -WantedBy=timers.target \ No newline at end of file +WantedBy=timers.target diff --git a/services/smartctl-test-disks-short.timer b/services/smartctl-test-disks-short.timer index a21fb29..13dd96b 100644 --- a/services/smartctl-test-disks-short.timer +++ b/services/smartctl-test-disks-short.timer @@ -1,9 +1,9 @@ [Unit] -Description=Smartctl Run Short Test every week +Description=Smartctl run a long test every week on Monday [Timer] -OnBootSec=weekly -OnUnitActiveSec=weekly +OnCalendar=Monday *-*-* 00:00:00 +Persistent=true [Install] -WantedBy=timers.target \ No newline at end of file +WantedBy=timers.target