From 869d04306fb87669c3bd57a9262689ce38ddc8c9 Mon Sep 17 00:00:00 2001 From: bergware Date: Sat, 15 Sep 2018 09:09:32 +0200 Subject: [PATCH] Correction in custom parity schedule --- plugins/dynamix/include/update.parity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/include/update.parity.php b/plugins/dynamix/include/update.parity.php index aed7054fe..53cd88474 100644 --- a/plugins/dynamix/include/update.parity.php +++ b/plugins/dynamix/include/update.parity.php @@ -30,7 +30,7 @@ if (isset($_POST['#apply'])) { case 'W2' : $dotm = '8-14'; break; case 'W3' : $dotm = '15-21'; break; case 'W4' : $dotm = '22-28'; break; - case 'WL' : $dotm = '*'; $term = '[[ $(date +%e -d +7days) -le 7 ]] && '; break; + case 'WL' : $dotm = '22-31'; $term = '[[ $(date +%e -d +7days) -le 7 ]] && '; break; } $cron = "# Generated parity check schedule:\n$time $dotm $month $day $term/usr/local/sbin/mdcmd check $write &> /dev/null || :\n\n"; }