Node cron specified date and stop after excute success

后端 未结 0 2004
轻奢々
轻奢々 2021-02-11 11:54

I have this code

var cron = require(\'node-cron\');
 
cron.schedule(\'0 30 19 10 SEP 4 2019\', () => {
  console.log(\'excute success\');
});

相关标签:
回答
  • 消灭零回复
提交回复
热议问题