:at should be supported in hourly tasks as well
Opened this issue · 2 comments
idris commented
You should be able to use the :at option for hourly tasks as well, not just daily. For example:
every(1.hour, "ten.after.job", :at => "**:10")
stevewilhelm commented
+1 for :at option on hour
funtusov commented
Yes, that's needed.
At the moment I do it that way (it runs 24 clocks which is inefficient, but does the job):
[*'00'..'23'].each do |hr|
every(1.day, "Task name", :at => "#{hr}:10")
end