Authored by 陈峰

commit

@@ -19,4 +19,5 @@ schedule.scheduleJob('0 10 * * * *', () => { @@ -19,4 +19,5 @@ schedule.scheduleJob('0 10 * * * *', () => {
19 logger.info('task start calvAvgTask'); 19 logger.info('task start calvAvgTask');
20 calvAvgTask(); 20 calvAvgTask();
21 }); 21 });
  22 +spiderTask(dayjs().unix());
22 calvAvgTask(); 23 calvAvgTask();
@@ -4,7 +4,6 @@ const {logger} = require('../libs/logger'); @@ -4,7 +4,6 @@ const {logger} = require('../libs/logger');
4 const {mysqlPool} = require('../libs/mysql'); 4 const {mysqlPool} = require('../libs/mysql');
5 5
6 module.exports = async() => { 6 module.exports = async() => {
7 - mysqlPool.delete('delete from channel_sku_compare_record');  
8 const beginTime = dayjs().subtract(24, 'hour').unix(); 7 const beginTime = dayjs().subtract(24, 'hour').unix();
9 const endTime = dayjs().unix(); 8 const endTime = dayjs().unix();
10 9