index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
modules
/
cron
/
manager.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
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 2990ab06..91ae16be 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()
}