Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7047099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:43:47+00:00 2026-05-28T02:43:47+00:00

I am unable to run the resque-web on my server due to some issues

  • 0

I am unable to run the resque-web on my server due to some issues I still have to work on but I still have to check and retry failed jobs in my resque queues.

Has anyone any experience on how to peek the failed jobs queue to see what the error was and then how to retry it using the redis-cli command line?

thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:43:48+00:00Added an answer on May 28, 2026 at 2:43 am

    Found a solution on the following link:

    http://ariejan.net/2010/08/23/resque-how-to-requeue-failed-jobs

    In the rails console we can use these commands to check and retry failed jobs:

    1 – Get the number of failed jobs:

     Resque::Failure.count
    

    2 – Check the errors exception class and backtrace

    Resque::Failure.all(0,20).each { |job|
       puts "#{job["exception"]}  #{job["backtrace"]}"
    }
    

    The job object is a hash with information about the failed job. You may inspect it to check more information. Also note that this only lists the first 20 failed jobs. Not sure how to list them all so you will have to vary the values (0, 20) to get the whole list.

    3 – Retry all failed jobs:

    (Resque::Failure.count-1).downto(0).each { |i| Resque::Failure.requeue(i) }
    

    4 – Reset the failed jobs count:

     Resque::Failure.clear
    

    retrying all the jobs do not reset the counter. We must clear it so it goes to zero.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have downloaded the java JDK but I am unable to run the program.
I'm unable to run simulator for testing iPhone3GS below version of 4.0. I have
Due to my problem that I am unable to run dos command via my
All of a sudden I am unable to run any web application in Visual
For about 2 weeks now, I have been unable to run any UnitTests (built
I'm unable to run any selenium tests since I updated Firefox to 3.6. Is
I have been unable to receive UDP multicast under VxWorks 5.5. I've joined the
I have been unable to trigger an onselect event handler attached to a <div>
I am unable to run the code for moving file, when i use the
it seems that Ruby GTK apps are unable to run in nongraphical environment.. while

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.