update
This commit is contained in:
@@ -234,7 +234,7 @@ func init() {
|
|||||||
if err := Req(CRONS, PUT, "/disable", []byte(fmt.Sprintf(`["%s"]`, dup.ID))); err != nil {
|
if err := Req(CRONS, PUT, "/disable", []byte(fmt.Sprintf(`["%s"]`, dup.ID))); err != nil {
|
||||||
s.Reply(fmt.Sprintf("隐藏 %v %v %v", dup.Name, dup.Command, err))
|
s.Reply(fmt.Sprintf("隐藏 %v %v %v", dup.Name, dup.Command, err))
|
||||||
} else {
|
} else {
|
||||||
s.Reply(fmt.Sprintf("已隐藏重复任务 %v %v", dup.Name, dup.Command))
|
s.Reply(fmt.Sprintf("已隐藏重复任务 %v %v", dup.Name, dup.Command), core.N)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
tasks[crons[i].Name] = crons[i]
|
tasks[crons[i].Name] = crons[i]
|
||||||
|
|||||||
Reference in New Issue
Block a user