Merge branch 'master' of github.com:gebhardtdasense/system
This commit is contained in:
commit
5b3346f6c9
@ -11,7 +11,7 @@ class crontime {
|
|||||||
if($day + $now_day> 31){ $next_month += 1;}
|
if($day + $now_day> 31){ $next_month += 1;}
|
||||||
$next_day = ($now_day+$day)%31;}
|
$next_day = ($now_day+$day)%31;}
|
||||||
if($hour){
|
if($hour){
|
||||||
if(($hour + $now_hour)> 24){ $next_day += 1;}
|
if(($hour + $now_hour)>= 24){ $next_day += 1;}
|
||||||
$next_hour = ($now_hour+$hour)%24;}
|
$next_hour = ($now_hour+$hour)%24;}
|
||||||
if($min){
|
if($min){
|
||||||
if(($min + $now_min)> 60){ $next_hour += 1;}
|
if(($min + $now_min)> 60){ $next_hour += 1;}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user