This commit is contained in:
cdle
2023-07-05 17:19:56 +08:00
parent 873bccce55
commit 643ecd0f9c
21 changed files with 573 additions and 81 deletions
+3 -3
View File
@@ -2,9 +2,9 @@ package core
import cron "github.com/robfig/cron/v3"
var C *cron.Cron
var CRON *cron.Cron
func init() {
C = cron.New(cron.WithSeconds())
C.Start()
CRON = cron.New(cron.WithSeconds())
CRON.Start()
}