Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
spider-ufo
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
刘志远
5 years ago
Commit
2fca5c9ab58cef3fe654fe51937b505184060acb
1 parent
f5779e4a
暂停比价job
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
app.js
app.js
View file @
2fca5c9
...
...
@@ -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());
...
...
Please
register
or
login
to post a comment