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