LoginSignup
0
0

More than 5 years have passed since last update.

Sidekiqで実行予定のジョブの一覧をコンソールから取得したい

Posted at

本番運用中のRedisの切替時に旧の方に残ったものを手作業でリカバリ実行したかった。
下記でそのままコンソールにコピペ実行できるフォーマットで出力できる

puts Sidekiq::ScheduledSet.new.map {|job| "#{job.jid} #{job.display_class}.perform_async(#{job.args})" }

sidekiq v5.2.3

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0