Commit 473e8ae3 authored by 姚广胤's avatar 姚广胤

test

parent 2cc45819
...@@ -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-27 19:52:56 * @Last Modified time: 2018-03-28 19:31:44
*/ */
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: 8, minute: 20, second: 0 }, () => { schedule.scheduleJob({ hour: 19, minute: 34, second: 0 }, () => {
task.runTiming(); task.runTiming();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment