node-schedule is not work at time
node.js
Solution
i changed my code and used cron. https://www.npmjs.org/package/cron
it works very well :)
var CronJob = require('cron').CronJob;
new CronJob('* * * * * *', function(){
console.log('You will see this message every second');
}, null, true, "America/Los_Angeles");
Problem
i want to use node-schedule , i get information from Data Base every day , and for each item i want to do some thing at special time. this is my code : ``` users.forEach(function(users_entry){ if(err){ console.log(err); } else{ var date = new Date(2014, 11, 29, 11, 45, 0); schedule.scheduleJob(date, function(){ console.log('The world is going to end today.'); }); } }); ``` but above code doesn't run at mentioned time and works all the time. what is problem?