Nó JS Cron Exemplo

npm install --save node-cron

var cron = require('node-cron');

cron.schedule('* * * * *', () => {
  console.log('running a task every minute');
});
Grzegorz Dufajn