Skip to main content
Skip table of contents

Resolving Stuck Scheduled Jobs through Resque

🤔 Problem

The client has reported that a scheduled job in their company process module appears to be stuck, as it hasn't completed for several hours or even days. Upon checking Resque, you may find that there are jobs currently running, or you might see a failed job related to the ProcessSchedule class.

🌱 Solution

  1. Navigate to the client's Resque environment page (client-url + /resque/overview).

  2. Check the "Failed" tab for any failed jobs.

  3. Identify if the failed job is associated with the ProcessSchedule class .

  4. Click "Retry."

This action will reinitiate the job, resolving the issue if it was caused by a deadlock.

Example:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.