WarLord
WarLord

Reputation: 419

Rerun errored delayed jobs

Some of the delayed jobs errored due to a bug. I have fixed the bug and now I want to rerun the errored delayed jobs without losing them. Is there any way to rerun all the errored jobs?

Upvotes: 0

Views: 378

Answers (1)

thedanotto
thedanotto

Reputation: 7307

This question may help you. Check out steakchasers comment.

Looks like the ticket is a two step process.

  1. Query for the jobs that failed
  2. Then update the run_at to Time.now

Upvotes: 2

Related Questions