Allow forgetting multiple failed jobs at once #43725
Unanswered
chrisdicarlo
asked this question in
Ideas
Replies: 1 comment
-
Old post but you can run these to retry or forget jobs specified by job class. Forget: for uuid in $(php artisan queue:failed | awk '/MyJobClass/ {print $3}'); do
php artisan queue:forget "$uuid";
done Retry: php artisan queue:retry echo $(php artisan queue:failed | awk '/MyJobClass/' | awk '{print $3}') |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking to use the Artisan
queue:forget
command to forget multiple IDs at once, similar to thequeue:retry command
. Implementation-wise it doesn't seem too complicated but I'm unclear about how to actually begin putting together a PR to the framework and more importantly if it would even be considered for merging?I have an implementation but I have never contributed directly to the framework before.
Any direction or insight is greatly appreciated!
Cheers,
Chris
Beta Was this translation helpful? Give feedback.
All reactions