This commit is contained in:
cdle
2021-09-22 20:41:53 +08:00
parent 3bdf7a0f77
commit 90a31256d0
+1
View File
@@ -228,6 +228,7 @@ func init() {
}
if strings.Contains(crons[i].Command, "jd_disable.py") {
Req(CRONS, PUT, "/disable", []byte(fmt.Sprintf(`["%s"]`, crons[i].ID)))
continue
}
if task, ok := tasks[crons[i].Name]; ok {
var dup Cron