nodejs告诉我 无法读取未定义的属性“取消” 当我想提取job.cancel()
var schedule = require('node-schedule');
test = schedule.scheduleJob({second: 2, hour:
dataA[0].on_h , minute: dataA[0].on_m, dayOfWeek:
timerSD.day}, function(){
console.log(now+': Timer automatic ON - SD: '+x+ "timer ID"+dataA[0].ID);
db.setStatus(x, 1);
});
test.cancel();
答案 0 :(得分:0)
我使用重新安排来解决。这有效:
.services .content>div:nth-last-child(-n+2) {
margin-bottom: 30px;
}
.services .content>div:nth-child(-n+2) {
margin-bottom: 30px;
}