breejs / bree

Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
https://jobscheduler.net
MIT License
2.96k stars 80 forks source link

[feat] removeCompleted option per job #175

Open jmtt89 opened 2 years ago

jmtt89 commented 2 years ago

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