Closed IuriiD closed 5 years ago
Hmm... looks like it was a silly evening mistake ;) With a adding 1 line of code (see below) it works:
const kue = require('kue');
const jobs = kue.createQueue();
kue.Job.remove(39, (err) => {
if (err) console.log(err);
});
Hi guys! Sorry, I'm a newbie with kue and with coding in general so would be very thankfull if someone could give me advice (maybe I'm doing some stupid mistake? Have been struggling with this issue for several hours already). So, when executing the following simple code:
(where 34 is the id of job I see in http://127.0.0.1:3050/ or can get as described here)
I am getting an error:
What can be the reason? Thanks in advance.