Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
Remove specific jobs when complete and keep others scheduled
...
Describe the feature
Actually only can remove all completed jobs, but in some cases we want keep a list of recurring jobs and others one time jobs (in my cases I add dynamic one time jobs).
...
[] I have read the documentation and made sure this feature doesn't already exist.
The removeCompleted exist on Instance Options but not in Job Options. I don't create yet a demo for verify that behaviour.
What problem are you trying to solve?
Remove specific jobs when complete and keep others scheduled ...
Describe the feature
Actually only can remove all completed jobs, but in some cases we want keep a list of recurring jobs and others one time jobs (in my cases I add dynamic one time jobs). ...
I think the workaround is explained on https://github.com/breejs/bree/issues/106
Checklist
removeCompleted
exist on Instance Options but not in Job Options. I don't create yet a demo for verify that behaviour.