mirror of
https://github.com/unraid/webgui.git
synced 2026-03-06 00:18:57 -06:00
Correction in custom parity schedule
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user