Skip to content

Instantly share code, notes, and snippets.

@jfrost
Created March 24, 2015 15:10
Show Gist options
  • Save jfrost/74c47696da45c5e86f2f to your computer and use it in GitHub Desktop.
Save jfrost/74c47696da45c5e86f2f to your computer and use it in GitHub Desktop.
output the job info from failed resque jobs
Resque::Failure.each { |idx, f| puts f }
@jfrost
Copy link
Author

jfrost commented Mar 24, 2015

Then if you need just the args, you could do something like:

Resque::Failure.each { |idx, f| puts f["payload"]["args"] }

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