Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node-schedule job on specific datetime

const schedule = require('node-schedule');
const date = new Date(2012, 11, 21, 5, 30, 0);

const job = schedule.scheduleJob(date, function(){
  console.log('The world is going to end today.');
});
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #job #specific #datetime
ADD COMMENT
Topic
Name
6+1 =