resque_retry.rb 0sH �U 9 �U # inspired by http://ariejan.net/2010/08/23/resque-how-to-requeue-failed-jobs # retry all failed Resque jobs except the ones that have already been retried # This is, for instance, useful if you have already retried some jobs via the web interface. Resque::Failure.count.times do |i| Resque::Failure.requeue(i) unless Resque::Failure.all(i, 1)['retried_at'].present? end