Skip to content

Instantly share code, notes, and snippets.

@JuanCrg90
Created July 28, 2018 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JuanCrg90/a380286d647ea4ea836899f4b13ae4e6 to your computer and use it in GitHub Desktop.
Save JuanCrg90/a380286d647ea4ea836899f4b13ae4e6 to your computer and use it in GitHub Desktop.
bundle exec rails runner "eval(File.read 'drop_queues.rb')"
# bundle exec rails runner "eval(File.read 'drop_queues.rb')"
queues = Delayed::Job.all.map(&:queue).uniq
Delayed::Job.where(queue: queues).destroy_all
@AbdulQayyum1
Copy link

Hi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment