Node cron specified date and stop after excute success

后端 未结 0 1713
伪装坚强ぢ
伪装坚强ぢ 2021-02-11 11:55

I have this code

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

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