开启定时任务
This commit is contained in:
parent
7e3e83f25b
commit
88d4ad520e
@ -28,8 +28,8 @@ db.once('open', async function () {
|
|||||||
// movie.run();
|
// movie.run();
|
||||||
// bookChapter.run();
|
// bookChapter.run();
|
||||||
// await dandanzan.run();
|
// await dandanzan.run();
|
||||||
await commonTask.run();
|
// await commonTask.run();
|
||||||
// websiteSchedule.scheduleUpdateAll();
|
websiteSchedule.scheduleUpdateAll();
|
||||||
});
|
});
|
||||||
mongoose.connect(config.db, {promiseLibrary: Promise, useNewUrlParser: true});
|
mongoose.connect(config.db, {promiseLibrary: Promise, useNewUrlParser: true});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user