I want to update old sidekiq jobs with new time interval. How I can do this ? Is it possible through perform_in
option. In addition I want to know clear difference between perform_in
and perform_async
.
Asked
Active
Viewed 2.6k times
16

Prakash Laxkar
- 824
- 1
- 8
- 17
1 Answers
30
You have to pass perform_in
a time. perform_async
gets pushed to the queue right away. Other than that they're the same. You'd call perform_in(10.minutes)

toddmetheny
- 4,405
- 1
- 22
- 39
-
1Full documentation on the `perform_in` method is available at https://github.com/mperham/sidekiq/wiki/Scheduled-Jobs – anothermh Apr 22 '16 at 22:55
-
2Is there documentation for perform, perform_now and perform_later? I think there are self explanatory but how would each be handled by Sidekiq? – atw Jan 16 '18 at 11:59