Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
warden
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姚广胤
warden
Commits
18c27df7
Commit
18c27df7
authored
Mar 28, 2018
by
姚广胤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
473e8ae3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app.js
server/app.js
+2
-2
No files found.
server/app.js
View file @
18c27df7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: ygy
* @Author: ygy
* @Date: 2018-03-14 19:40:01
* @Date: 2018-03-14 19:40:01
* @Last Modified by: ygy
* @Last Modified by: ygy
* @Last Modified time: 2018-03-28 19:3
1:44
* @Last Modified time: 2018-03-28 19:3
9:37
*/
*/
const
Koa
=
require
(
'koa'
);
const
Koa
=
require
(
'koa'
);
const
send
=
require
(
'koa-send'
);
const
send
=
require
(
'koa-send'
);
...
@@ -60,7 +60,7 @@ app.use(rest.restify());
...
@@ -60,7 +60,7 @@ app.use(rest.restify());
app
.
use
(
router
());
app
.
use
(
router
());
// start task schedule
// start task schedule
schedule
.
scheduleJob
({
hour
:
19
,
minute
:
34
,
second
:
0
},
()
=>
{
schedule
.
scheduleJob
({
hour
:
19
,
minute
:
41
,
second
:
0
},
()
=>
{
task
.
runTiming
();
task
.
runTiming
();
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment