mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-07 14:17:49 +08:00
调整日期选择框大小,修改定时器为每天执行
This commit is contained in:
@@ -11,6 +11,6 @@ func Start() {
|
||||
s := gocron.NewScheduler(time.Local)
|
||||
s.Cron("0 * * * *").Do(ClearAudit)
|
||||
s.Cron("0 * * * *").Do(ClearStatsInfo)
|
||||
s.Every("1s").Do(sessdata.CloseUserLimittimeSession)
|
||||
s.Every(1).Day().At("00:00").Do(sessdata.CloseUserLimittimeSession)
|
||||
s.StartAsync()
|
||||
}
|
||||
|
Reference in New Issue
Block a user