Node Schedule

Example

const schedule = require('node-schedule');

const job = schedule.scheduleJob('42 * * * *', () => {
  console.log('The answer to life, the universe, and everything!');
});
const job = schedule.scheduleJob('0 1 * * *', (fireDate) => {
  console.log('This job was supposed to run at ' + fireDate + ', but actually ran at ' + new Date());
});
What Else?
inflearn react api server -50% 할인쿠폰: 15108-f2af1e086101 buy me a coffee