var randf = require('randomstring');
var jobId = randf.generate(10); //randomsrting
var at = new Date();
var time = at.setSeconds(at.getSeconds() + Number(5)) //after 5 second
schedule.scheduleJob(jobId, new Date(time),function(){
schedule.cancelJob(jobId);
console.log('hi--viral');
});