just bullmq
basic usage
create new perform job function ./jobs/sayhello-job.js
module.exports = function() {
console.log('say: hello');
}
up worker
npx just queue:up --queue sayhello
enqueue job
npx just queue:add --queue sayhello
create new perform job function ./jobs/sayhello-job.js
module.exports = function() {
console.log('say: hello');
}
up worker
npx just queue:up --queue sayhello
enqueue job
npx just queue:add --queue sayhello