cron fix for 24 -> 1day
This commit is contained in:
parent
51f12b4ce8
commit
7197e2557f
@ -11,7 +11,7 @@ class crontime {
|
||||
if($day + $now_day> 31){ $next_month += 1;}
|
||||
$next_day = ($now_day+$day)%31;}
|
||||
if($hour){
|
||||
if(($hour + $now_hour)> 24){ $next_day += 1;}
|
||||
if(($hour + $now_hour)>= 24){ $next_day += 1;}
|
||||
$next_hour = ($now_hour+$hour)%24;}
|
||||
if($min){
|
||||
if(($min + $now_min)> 60){ $next_hour += 1;}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user