Added: Cumulative parity check

This commit is contained in:
bergware
2021-12-16 03:40:37 +01:00
parent 9daa7e8c27
commit 0a001add7a

View File

@@ -76,7 +76,7 @@ if (isset($_POST['#apply'])) {
if ($day != '*') {
$M = '*';
} elseif ($dotm != '*') {
$test = '[[ $(date +%U -d "@$(grep -Po \'^sbSynced=\K\d+\' /proc/mdstat)" -ne $(date +%U) ]] && ';
$test = '[[ $(date +%U -d @$(grep -Po "^sbSynced=\K\d+" /proc/mdstat) -ne $(date +%U) ]] && ';
$end = ' || :';
}
break;