-
Notifications
You must be signed in to change notification settings - Fork 761
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
how to retry a failed job just like resque-web providing a 'retry' button and recording retried? #324
Comments
I have a need to retry jobs as well although not manually via a web UI. I want to give a job X attempts with some time in between, then perm fail. To do this I created the following event hook. This looks for a property on the job class called This could be extended to do some sort of backoff delay instead of an hour each time. Also it assume the php-resque-scheduler is running as it uses this to queue the job in the future. Putting this code here in case someone like me searching the repo for
|
how to retry a failed job just like resque-web providing a 'retry' button and recording retried?
The text was updated successfully, but these errors were encountered: