Showing
1 changed file
with
4 additions
and
4 deletions
@@ -19,10 +19,10 @@ const app = express(); | @@ -19,10 +19,10 @@ const app = express(); | ||
19 | global.isProduction = process.env.NODE_ENV === 'production'; | 19 | global.isProduction = process.env.NODE_ENV === 'production'; |
20 | global.sender = new Sender(config.monitorReport); // 初始化数据上报 | 20 | global.sender = new Sender(config.monitorReport); // 初始化数据上报 |
21 | 21 | ||
22 | -schedule.scheduleJob('0 15 6-23 * * *', () => { | ||
23 | - logger.info('[process]task start spiderTask'); // 比价任务 | ||
24 | - spiderTask(dayjs().unix()); | ||
25 | -}); | 22 | +//schedule.scheduleJob('0 15 6-23 * * *', () => { |
23 | +// logger.info('[process]task start spiderTask'); // 比价任务 | ||
24 | +// spiderTask(dayjs().unix()); | ||
25 | +//}); | ||
26 | // schedule.scheduleJob('0 0 * * * *', () => { | 26 | // schedule.scheduleJob('0 0 * * * *', () => { |
27 | // logger.info('[process]task start spiderAllTask'); // 比价任务-all | 27 | // logger.info('[process]task start spiderAllTask'); // 比价任务-all |
28 | // spiderAllTask(dayjs().unix()); | 28 | // spiderAllTask(dayjs().unix()); |
-
Please register or login to post a comment