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

Using, name + path + cron starts job on start #230

Closed Faboslav closed 8 months ago

Faboslav commented 8 months ago

Using job defined with name + path + cron runs the job on await bree.start(), which is unexpected due to cron being defined.

Faboslav commented 8 months ago

This was caused due to my bad code, sorry.