mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-29 19:30:15 +08:00
修复停止任务后任务状态修改
This commit is contained in:
parent
fdc97773d1
commit
3ac41075fd
|
@ -209,7 +209,7 @@ export default class CronService {
|
|||
}
|
||||
|
||||
await CrontabModel.update(
|
||||
{ status: CrontabStatus.queued, pid: undefined },
|
||||
{ status: CrontabStatus.idle, pid: undefined },
|
||||
{ where: { id: ids } },
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user