Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command to retry all failed jobs in the queue #4072

Closed
rungta opened this issue Mar 29, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@rungta
Copy link

commented Mar 29, 2019

Description

The job queue can often rack up a whole lot of similar Failed tasks due to various reasons (server misconfiguration being a common one). In such cases, the workflow then is to figure out why the job(s) were failing, fix that, and then manually click on each job and select Retry. This is alright when the number of failed jobs are 10 or less, but quite inefficient if that number if 50 or more. It would be great if one could bulk trigger retrying all failed jobs from the command line. Something like:

# retry a single job
craft queue/retry <id>

# retry all failed jobs
craft queue/retry all

Additional info

  • Craft version: 3.1.19
  • PHP version: 7.3
@brandonkelly

This comment has been minimized.

Copy link
Member

commented Mar 29, 2019

Good idea. Added for the next release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.