lib/openwfe/util/scheduler.rb in openwferu-scheduler-0.9.8 vs lib/openwfe/util/scheduler.rb in openwferu-scheduler-0.9.8.616
- old
+ new
@@ -506,10 +506,12 @@
end
#
# cron entries
- if now.sec == 0 and minute > @last_cron_minute
+ if now.sec == 0 and
+ (minute > @last_cron_minute or
+ @last_cron_minute == 59)
#
# only consider cron entries at the second 0 of a
# minute
@last_cron_minute = minute