数据库插件
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
// 定时任务
|
||||
module.exports = {
|
||||
time: {
|
||||
cron: '0/5 * * * * ?',
|
||||
// every: 2000,
|
||||
// limit: 100,
|
||||
},
|
||||
fun: (app) => {
|
||||
console.log("test",new Date());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user