mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-13 07:46:43 +00:00
update
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user