Delete Sidekiq schedule queue jobs in Rails / ActiveJob

29
April, 2022

jobs = Sidekiq::ScheduledSet.new

jobs.select { |job| job.display_class == "EventReminderJob" }
    .each(&:delete)