Merge branch 'feature/stop_job' into 'master'
停掉一些job 停掉一些job See merge request !38
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -43,9 +43,9 @@ schedule.scheduleJob('0 59 23 * * *', () => { | @@ -43,9 +43,9 @@ schedule.scheduleJob('0 59 23 * * *', () => { | ||
43 | // priceTask(); // 全量更新毒的价格数据 | 43 | // priceTask(); // 全量更新毒的价格数据 |
44 | // }); | 44 | // }); |
45 | 45 | ||
46 | -priceLineTask.forEach(taskInfo => { | ||
47 | - schedule.scheduleJob(taskInfo.cron, taskInfo.task); // 启动所有价格区间任务 | ||
48 | -}); | 46 | +// priceLineTask.forEach(taskInfo => { |
47 | +// schedule.scheduleJob(taskInfo.cron, taskInfo.task); // 启动所有价格区间任务 | ||
48 | +// }); | ||
49 | 49 | ||
50 | schedule.scheduleJob('0 0 * * * *', () => { | 50 | schedule.scheduleJob('0 0 * * * *', () => { |
51 | logger.info('[process]task start checkPageTask'); // 检测毒网页接口版本 | 51 | logger.info('[process]task start checkPageTask'); // 检测毒网页接口版本 |
-
Please register or login to post a comment