Period#next should return today time if it is first run and not too late

This commit is contained in:
Dzmitry Plashchynski
2015-03-07 04:13:59 +02:00
parent 368cdde296
commit 6d90cb3233
4 changed files with 26 additions and 11 deletions

View File

@@ -56,7 +56,7 @@ module Crono
logger.info "Jobs:"
Crono.scheduler.jobs.each do |job|
logger.info job.description
logger.info %{"#{job.performer}" with rule "#{job.period.description}" next time will perform at #{job.next}}
end
end