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_manager-3.3.13 lib/tasks/failure.rake
resque_manager-3.3.12 lib/tasks/failure.rake
resque_manager-3.3.11 lib/tasks/failure.rake
resque_manager-3.3.10 lib/tasks/failure.rake
resque_manager-3.3.9 lib/tasks/failure.rake
resque_manager-3.3.8 lib/tasks/failure.rake
resque_manager-3.3.7 lib/tasks/failure.rake
resque_manager-3.3.6 lib/tasks/failure.rake
resque_manager-3.3.5 lib/tasks/failure.rake
resque_manager-3.3.4 lib/tasks/failure.rake
resque_manager-3.3.3 lib/tasks/failure.rake
resque_manager-3.3.2 lib/tasks/failure.rake
resque_manager-3.3.1 lib/tasks/failure.rake
resque_manager-3.3.0 lib/tasks/failure.rake
resque_ui-3.2.4 lib/tasks/failure.rake
resque_ui-3.2.3 lib/tasks/failure.rake
resque_ui-3.2.2 lib/tasks/failure.rake
resque_ui-3.2.1 lib/tasks/failure.rake
resque_ui-3.2.0 lib/tasks/failure.rake
resque_ui-3.1.7 lib/tasks/failure.rake