Answer the question
In order to leave comments, you need to log in
How to set a task on rails + sidekiq so that they are executed via def. time since the last one?
Hello. You need to make a bunch of requests to vk.api and you need something not to ban the server. How it is possible to make so that the installed task was executed through a period of time after the previous one? I came up with only one idea, through sidekiq.api to request the time of the last task and set a new task based on this variable.
Answer the question
In order to leave comments, you need to log in
Development steps:
whenever -> resque scheduler (optional) -> clockwork
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question