mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-07 14:43:17 +08:00
新增用户活动日志
This commit is contained in:
@@ -11,6 +11,7 @@ func Start() {
|
||||
s := gocron.NewScheduler(time.Local)
|
||||
s.Cron("0 * * * *").Do(ClearAudit)
|
||||
s.Cron("0 * * * *").Do(ClearStatsInfo)
|
||||
s.Cron("0 * * * *").Do(ClearUserActLog)
|
||||
s.Every(1).Day().At("00:00").Do(sessdata.CloseUserLimittimeSession)
|
||||
s.StartAsync()
|
||||
}
|
||||
|
Reference in New Issue
Block a user