clockwork
clockwork copied to clipboard
:at should be supported in hourly tasks as well
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")
+1 for :at option on hour
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