Replies: 3 comments 4 replies
-
I am sorry but I find the question a bit confusing, we would need a bit more context and explanation in order to understand what you are asking. |
Beta Was this translation helpful? Give feedback.
-
I actually want to follow this. Right now, for that part of the repeatable job, I have concurrency = 1, so only one worker can run the repeatable job. That works for me for now. However it would be great if there is a setting, where you can specify to create the next job when it is picked up (current functionality), or where the job gets created at end of the worker being run (on fail or success - it needs to be both, I think) |
Beta Was this translation helpful? Give feedback.
-
I need it as well, sometimes there are jobs like sending emails every minute, that for any reason may take longer, and running it twice will be super strange. @manast do you have any concerns about the current bull architecture to reschedule after the job is completed? or any other hidden issues? as for me it should be ok, If the server is restarted in the middle of a job run, then this job will eventually become stalled and will be executed again and reschedule itself only when done. So should be ok? I can help with implementing it for nodejs |
Beta Was this translation helpful? Give feedback.
-
And for example if I create 5 of such repeatable tasks each one repeat only after completion of it job.
Could I do it by API of worker and job?
Beta Was this translation helpful? Give feedback.
All reactions