Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node-schedule cancel job

var j = schedule.scheduleJob(unique_name, date, function() {
});
// later on
var my_job = schedule.scheduledJobs[unique_name];
my_job.cancel();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cancel #job
ADD COMMENT
Topic
Name
1+4 =