Have you tried hourly(2)?
recurrence do
hourly(2)
end
It is in the icecube README , but I have not tried it yet.
You can also do something like this:
recurrence do
daily.hour_of_day(*(0..23).to_a.select { |hour_of_day| hour_of_day.even? })
end
hourly(2) - .
Sidetiq self.perform_in(2.hours) perform.
def perform
self.class.perform_in(2.hours)
end
UPDATE:
https://github.com/tobiassvn/sidetiq/wiki/Known-Issues
, ice_cube ( 100% - ) . , .
, :
recurrence { hourly.minute_of_hour(0, 15, 30, 45) }