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
3.02k stars 78 forks source link

BUGFIX removing job #42

Closed tipiwiny closed 3 years ago

tipiwiny commented 3 years ago

In the line number 859 you should use filter instead of find method because only you get the first job that achieve the condition. This break the stop method. Regards, Juanlu.

niftylettuce commented 3 years ago

v3.3.0 released to npm, thank you @tipiwiny

https://github.com/breejs/bree/releases/tag/v3.3.1

tipiwiny commented 3 years ago

You are welcome 👍