lib/sidekiq/scheduler.rb
def update_job_next_time(name, next_time)
        Sidekiq.redis do |r|
          next_time ? r.hset(next_times_key, name, next_time) : r.hdel(next_times_key, name)
        end
      end
# Pushes job's next time execution
#
# @param [String] name The job's name
# @param [Time] next_time The job's next time execution
Pushes job's next time execution
Pushes job ' s next time execution
def update_job_next_time(name, next_time)
        Sidekiq.redis do |r|
          next_time ? r.hset(next_times_key, name, next_time) : r.hdel(next_times_key, name)
        end
      end
def update_job_next_time ( name , next_time ) Sidekiq . redis do | r | next_time ? r . hset ( next_times_key , name , next_time ) : r . hdel ( next_times_key , name ) end end
Pushes job's next time execution
Pushes job ' s next time execution
name
next_time
next_time The job's next time execution
next_time The job ' s next time execution