summaryrefslogtreecommitdiffstats
path: root/modules/cron
diff options
context:
space:
mode:
authorVitaliy Vasilenko <vvitalvas@yandex.ru>2015-03-21 14:55:00 +0200
committerVitaliy Vasilenko <vvitalvas@yandex.ru>2015-03-21 14:55:00 +0200
commit20a8d651f39eb138a8448257b0d8c5b4283ed6eb (patch)
treeb1dd0df9adc563f1b96c9b3cf0abfea43a6f5cf5 /modules/cron
parentb6f8b486c79a46219dd1d2f3136c411594cc8f6d (diff)
downloadgitea-20a8d651f39eb138a8448257b0d8c5b4283ed6eb.tar.gz
gitea-20a8d651f39eb138a8448257b0d8c5b4283ed6eb.zip
add func to autofix couters in repository
Diffstat (limited to 'modules/cron')
-rw-r--r--modules/cron/manager.go1
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()
}