Authored by 刘志远

暂停比价job

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