mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 21:50:24 -06:00
Added: Cumulative parity check
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user