-
How can the "Job Retry" function be used? - such as if a failed job's id is passed to Bull, then retry the failed job. Is there a code example anywhere of how to use retry()? And from what I understand, TaskForce can manually retry failed jobs. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Well, the code example would just be: await job.retry(); And yes, Taskforce.sh allows manual retrying, and it is using this same method. |
Beta Was this translation helpful? Give feedback.
-
Thanks @manast ; but how do I pass that a job id to tell it which job to retry? |
Beta Was this translation helpful? Give feedback.
-
Syntax used:
|
Beta Was this translation helpful? Give feedback.
-
If you want to manually retry specific job then you can integrate bull board without |
Beta Was this translation helpful? Give feedback.
Well, the code example would just be:
And yes, Taskforce.sh allows manual retrying, and it is using this same method.