I'm using node-schedule
and its not working with the cron expression strings.
What am I doing wrong here?
var schedule = require('node-schedule');
schedule.scheduleJob('*/5 * * * * * *', function(){
console.log(Date.now());
});
This just executes once, when the server starts.
I dont want to create RecurrenceRule
(which worked), instead, just use these strings to create jobs.
Should I just try node-cron
?