diff options
| author | Andrew Smirnov <72158444+sandrew-uj@users.noreply.github.com> | 2026-04-19 22:37:34 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-19 22:37:34 +0300 |
| commit | e986a133f80b6b1fb231887806f4853edd540d7b (patch) | |
| tree | e1ef901abe2137a4cbe0d16596dc8cc820f8d903 /web/web.go | |
| parent | 7466916e0206d55826d74f37c251bb5e40182c00 (diff) | |
Add new hourly reset traffic (#3966)
* Add new hourly reset traffic
* fix
Diffstat (limited to 'web/web.go')
| -rw-r--r-- | web/web.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -327,6 +327,8 @@ func (s *Server) startTask() { s.cron.AddJob("@daily", job.NewClearLogsJob()) // Inbound traffic reset jobs + // Run every hour + s.cron.AddJob("@hourly", job.NewPeriodicTrafficResetJob("hourly")) // Run once a day, midnight s.cron.AddJob("@daily", job.NewPeriodicTrafficResetJob("daily")) // Run once a week, midnight between Sat/Sun |
