We are using whenever gem on our rails project and there is one task that need to be run every hour but only on the day of the sunday. I understand that i can schedule tasks on hourly basis , by something like this:
every 1.hour do
# do something
end
and i also understand that i can schedule it for a particular time on sunday:
every :sunday, :at => "11:00pm" do
#do something
end
what i am looking for is some syntax to schedule this task for every hour on sunday.