时间:2021-07-01 10:21:17 帮助过:6人阅读
var rule = new schedule.RecurrenceRule();
rule.minute = 42;
var j = schedule.scheduleJob(rule, function(){
console.log('The answer to life, the universe, and everything!');
});
比较关键的地方在于 rule.minute 是支持数组的,知道这一点就很好操作了
每隔 15 分钟执行: