feat: management && notify
This commit is contained in:
@@ -10,5 +10,6 @@ func initCron() {
|
||||
c := cron.New()
|
||||
//c.AddFunc("@every 10s", func() { global.Redis.Set("OK", time.Now().String(), time.Duration(10*time.Hour)) })
|
||||
c.AddFunc("@every 10m", statistics.CacheNCov)
|
||||
c.AddFunc("@every 8h", statistics.CacheNCovTrend)
|
||||
c.Start()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user