Commit 1b7940e1 authored by 姚广胤's avatar 姚广胤

test

parent 324ec45f
......@@ -2,7 +2,7 @@
* @Author: ygy
* @Date: 2018-03-14 19:40:01
* @Last Modified by: ygy
* @Last Modified time: 2018-03-28 19:39:37
* @Last Modified time: 2018-03-28 19:45:36
*/
const Koa = require('koa');
const send = require('koa-send');
......@@ -60,7 +60,7 @@ app.use(rest.restify());
app.use(router());
// start task schedule
schedule.scheduleJob({ hour: 19, minute: 41, second: 0 }, () => {
schedule.scheduleJob({ hour: 19, minute: 47, second: 0 }, () => {
task.runTiming();
});
......
......@@ -2,7 +2,7 @@
* @Author: ygy
* @Date: 2018-03-14 19:39:46
* @Last Modified by: ygy
* @Last Modified time: 2018-03-28 19:42:04
* @Last Modified time: 2018-03-28 19:45:21
*/
const historyService = require('../services/historyService');
......@@ -58,7 +58,6 @@ const runTiming = async () => {
});
});
};
runTiming();
module.exports = {
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