Sha256: cdaf4db0c8a081094084118fda716ceb788cbb0149fac2aeb2d654b6cce6c4fa

Contents?: true

Size: 246 Bytes

Versions: 28

Compression:

Stored size: 246 Bytes

Contents

namespace :resque do

  desc "Requeue all failed jobs in a class.  If no class is given, all failed jobs will be requeued. ex: rake resque:requeue class=class_name"
  task :requeue => :setup do
    Resque::Failure.requeue ENV['class']
  end

end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
resque_ui-3.1.6 lib/tasks/failure.rake
resque_ui-3.1.5 lib/tasks/failure.rake
resque_ui-3.1.4 lib/tasks/failure.rake
resque_ui-3.1.3 lib/tasks/failure.rake
resque_ui-3.1.2 lib/tasks/failure.rake
resque_ui-3.1.1 lib/tasks/failure.rake
resque_ui-3.1.0 lib/tasks/failure.rake
resque_ui-3.0.0 lib/tasks/failure.rake