diff options
Diffstat (limited to 'modules/cron/manager.go')
-rw-r--r-- | modules/cron/manager.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cron/manager.go b/modules/cron/manager.go index 2990ab0604..91ae16be27 100644 --- a/modules/cron/manager.go +++ b/modules/cron/manager.go @@ -19,6 +19,7 @@ func NewCronContext() { if setting.Git.Fsck.Enable { c.AddFunc("Repository health check", fmt.Sprintf("@every %dh", setting.Git.Fsck.Interval), models.GitFsck) } + c.AddFunc("Check repository statistics", "@every 24h", models.CheckRepoStats) c.Start() } |