month starts at 1 not 0

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2014-01-14 10:25:31 +01:00
parent f96a38f8d6
commit 7d8da2c399

View File

@@ -70,7 +70,7 @@ function checkCrondConfigurationFile() {
}
break;
case "MONTH":
$cronfile .= $month_delay." 0 0 " . $minvalue . " * ";
$cronfile .= $month_delay." 0 1 " . $minvalue . " * ";
$month_delay += 7;
break;
case "WEEK":