You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that whenever you call Sidekiq::Scheduler.reload_schedule!, it resets all jobs scheduled for every.
This means that if you call Sidekiq::Scheduler.reload_schedule! once per hour, but you have a job that's scheduled to run every two hours (or longer), the job will never be started.
The text was updated successfully, but these errors were encountered:
@snmgian I just ran into this issue when trying to work with the API. I think that updating the documentation would help a lot. I was able to correct it by using Sidekiq::Scheduler.instance.update_schedule after calling set_schedule when it was non-dynamic. The current documentation makes it seem like one should call reload_schedule! which ends up causing multiple firings of the same schedule.
It seems that whenever you call
Sidekiq::Scheduler.reload_schedule!
, it resets all jobs scheduled forevery
.This means that if you call
Sidekiq::Scheduler.reload_schedule!
once per hour, but you have a job that's scheduled to run every two hours (or longer), the job will never be started.The text was updated successfully, but these errors were encountered: