File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3146,7 +3146,7 @@ _EstimateNextCronTimeAfterDate_()
31463146 then
31473147 for this_hour in $( expand_cron_field " $hour_field " 0 23)
31483148 do
3149- if [ " $this_hour " -gt " $current_hour " ] || [ " $loopCount " -gt 1 ]
3149+ if [ " $this_hour " -gt " $current_hour " ]
31503150 then
31513151 for this_min in $( expand_cron_field " $minute_field " 0 59)
31523152 do
@@ -3158,7 +3158,7 @@ _EstimateNextCronTimeAfterDate_()
31583158 then
31593159 for this_min in $( expand_cron_field " $minute_field " 0 59)
31603160 do
3161- if [ " $this_min " -gt " $current_minute " ]
3161+ if [ " $this_min " -ge " $current_minute " ]
31623162 then
31633163 echo " $( date -d " @$( date ' +%s' -d " $current_year -$current_month -$current_day $this_hour :$this_min " ) " ' +%Y-%m-%d %H:%M:%S' ) "
31643164 found=true
You can’t perform that action at this time.
0 commit comments