mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-28 09:02:12 +08:00
开机运行任务同时开始运行
This commit is contained in:
@@ -793,7 +793,7 @@ export default class CronService {
|
|||||||
{ where: { id: bootTasks.map((t) => t.id!) } },
|
{ where: { id: bootTasks.map((t) => t.id!) } },
|
||||||
);
|
);
|
||||||
for (const task of bootTasks) {
|
for (const task of bootTasks) {
|
||||||
await this.runSingle(task.id!);
|
this.runSingle(task.id!);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user