mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 07:06:06 +08:00
修复批量停止任务
This commit is contained in:
parent
d3f11ca2f8
commit
175e7b6c51
|
@ -183,6 +183,7 @@ export default class CronService {
|
|||
this.cronDb.update(
|
||||
{ _id: { $in: ids } },
|
||||
{ $set: { status: CrontabStatus.idle }, $unset: { pid: true } },
|
||||
{ multi: true },
|
||||
);
|
||||
resolve();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user