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
The code below creates a queue and add the job successfully, however when removing the job from the queue, i got an error saying
UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'expiryKey' of null at Queue. (/root/mean2/node_modules/kue-scheduler/index.js:1327:22)
var job = _queue2 .createJob('nbiot_schedule_refresh_token', {'appid':app.appid,'password':app.password}) .attempts(3) .priority('normal').removeOnComplete(true).save(); _queue2.every('*/300 * * * * *', job,function(err, job) { console.log('job addTokenRefreshJob ',job.id); });
_queue2.remove(app.job, function(err, response) { });
The text was updated successfully, but these errors were encountered:
Are you still having this issue @helxsz ? Thanks
Sorry, something went wrong.
@carlosmouracorreia : I had this error because the id sent to the remove function wasn't a Number
No branches or pull requests
The code below creates a queue and add the job successfully, however when removing the job from the queue, i got an error saying
The text was updated successfully, but these errors were encountered: