mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-24 15:43:24 +08:00
修复批量停止任务
This commit is contained in:
parent
42fbed157f
commit
b86ee5674d
|
@ -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