Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-seo
·
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
Plain Diff
Browse Files
Authored by
陈峰
2019-04-22 10:36:17 +0800
Commit
f5eeb46ab5feb9939fd795cc8b29238f6bb93a25
2 parents
3a5bd742
e52082f2
Merge branch 'hotfix/keys' into 'master'
fix cron See merge request
!16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
sitemap-task.js
sitemap-task.js
View file @
f5eeb46
...
...
@@ -20,7 +20,8 @@ class SitemapTask {
this
.
isRunning
=
false
;
this
.
logs
=
[];
schedule
.
scheduleJob
(
'* * * * * 6'
,
()
=>
{
// 每周六 1:00:00 执行任务
schedule
.
scheduleJob
(
'0 0 1 * * 6'
,
()
=>
{
this
.
exec
()
});
}
...
...
Please
register
or
login
to post a comment