enable smartctl short and long tests on a schedule

This commit is contained in:
Joseph Hanson 2024-09-16 23:51:16 -05:00
parent e22584dd0c
commit ce52589504
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -91,6 +91,8 @@ in
services = { services = {
smartd = { smartd = {
devices = smartdDevices; devices = smartdDevices;
# Short test every day at 2:00 AM and long test every Sunday at 4:00 AM.
defaults.monitored = "-a -o on -s (S/../.././02|L/../../7/04)";
}; };
}; };