1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-13 07:46:43 +00:00
This commit is contained in:
2020-05-25 11:37:35 +08:00
parent 39b8888cce
commit 3bf05b45a7
2 changed files with 2 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ func (scheduler *SchedulerFCFS) Stop(jobName string) MsgStop {
if !ok {
return MsgStop{Code: 1, Error: "Job not exist!"}
}
return jm.stop()
return jm.stop(true)
}
func (scheduler *SchedulerFCFS) QueryLogs(jobName string, taskName string) MsgLog {

View File

@@ -132,7 +132,7 @@ func (scheduler *SchedulerPriority) Stop(jobName string) MsgStop {
if !ok {
return MsgStop{Code: 1, Error: "Job not exist!"}
}
return jm.stop()
return jm.stop(true)
}
func (scheduler *SchedulerPriority) QueryLogs(jobName string, taskName string) MsgLog {