I am new to sidekiq, i just created sidekiq worker, when i run the sidekiq worker, it executes only the first rake task
I want to execute single rake with two different combinations of arguments
e.g
def perform
Rake::Task['test:fetch'].invoke("foo", "bar", 1, 1)
Rake::Task['test:fetch'].invoke("foo1", "bar1", 1, 1)
end
how to execute the above with interval of 5 minutes, should i run the rake 2 times or any other method to pass two diffrent arguments?