Answers for "Node -Cron Run every minute"

0

Node -Cron Run every minute

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

var task = cron.schedule('* * * * *', () =>  {
  console.log('will execute every minute until stopped');
});

task.stop();
Posted by: Guest on May-28-2021

Browse Popular Code Answers by Language