I’m trying to move a Sidekiq job to 3 AM since it is really stressing out the database.
However, whatever I try, Sidekiq does not reload the job info and it executes it at the original time.
It shows up at 3 AM in /sidekiq/scheduler but the job runner is just ignoring that (or: doesn’t know it changed)
What should I do (or what am I doing wrong) ?
name = 'Jobs::CalculateAvgTime' klass = name.constantize info = klass.schedule_info t = Time.now.utc info.next_run = Time.utc(t.year, t.month, t.day).to_i + 27*3600 info.write!