From 917bc2a24e8794ca1aab0be64b0f8048a7330fe7 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Mon, 20 Sep 2021 08:30:16 +0800 Subject: [PATCH] update --- develop/qinglong/cron.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/develop/qinglong/cron.go b/develop/qinglong/cron.go index d2cab65..7122b89 100644 --- a/develop/qinglong/cron.go +++ b/develop/qinglong/cron.go @@ -288,6 +288,9 @@ func GetCronID(keyword string) (*Cron, error) { } cs := []Cron{} for _, cron := range crons { + if cron.IsDisabled != 0 { + continue + } if cron.ID == keyword { cs = append(cs, cron) break