mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
修复停止任务后任务状态修改
This commit is contained in:
parent
355f06a3cf
commit
e96a2818b7
|
@ -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