Created
August 3, 2012 20:50
-
-
Save pivotal-casebook/3251389 to your computer and use it in GitHub Desktop.
Find all attachment ids for failed RecreateThumbnailJob jobs in resque
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('a.backtrace').map(function(){ | |
var t = $(this).text(); | |
if (/^Interrupted system call/.test(t)){ | |
return parseInt(t.split(' ')[6].split('/')[9]); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment