📜  每分钟调度一次节点 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:10.144000             🧑  作者: Mango

代码示例1
var rule = new schedule.RecurrenceRule();

rule.minute = new schedule.Range(0, 59, 5);

schedule.scheduleJob(rule, function(){
    console.log(rule);
    console.log('Today is recognized by Rebecca Black!---------------------------');
});