sort Log Ips

This commit is contained in:
Hossin Asaadi
2022-11-05 11:10:21 -04:00
parent 675c211dcd
commit 253f5dcfab
2 changed files with 5 additions and 4 deletions

View File

@@ -296,8 +296,8 @@ func (s *Server) startTask() {
// 每 30 秒检查一次 inbound 流量超出和到期的情况
s.cron.AddJob("@every 30s", job.NewCheckInboundJob())
// check client ips from log file every 30 sec
s.cron.AddJob("@every 30s", job.NewCheckClientIpJob())
// check client ips from log file every 10 sec
s.cron.AddJob("@every 10s", job.NewCheckClientIpJob())
// 每一天提示一次流量情况,上海时间8点30
var entry cron.EntryID