mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-13 22:45:10 +08:00
开机运行任务同时开始运行
This commit is contained in:
parent
d8d30c3619
commit
865e3035b9
|
|
@ -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!);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user