We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This should produce two jobs that run every 2 seconds. The job with the interval "every 2 seconds" only runs once. I was using bree 3.0.1 for testing.
const Bree = require('bree') const taskman = new Bree({ jobs: [ { name: 'Worker 1', path: worker_1, interval: '2s' }, { name: 'Worker 2', path: worker_2, interval: 'every 2 seconds' }, ] }) function worker_1() { console.log('worker_1 working ...') } function worker_2() { console.log('worker_2 working ...') } taskman.start()
The text was updated successfully, but these errors were encountered:
Thanks for the heads up, will look at this ASAP unless @shadowgate15 gets to it before myself.
Sorry, something went wrong.
I got it figured out, will release shortly.
feat: fixed all tests per bunkat/later#203, breejs/bree#29, #1
fc44c25
Please upgrade to v3.1.0 as these issues are fixed. I have also published an npm deprecation notice for older versions.
No branches or pull requests
This should produce two jobs that run every 2 seconds. The job with the interval "every 2 seconds" only runs once. I was using bree 3.0.1 for testing.
The text was updated successfully, but these errors were encountered: