aboutsummaryrefslogtreecommitdiff
path: root/modules/cron/manager.go
diff options
context:
space:
mode:
authorDon Bowman <don.waterloo@gmail.com>2015-08-12 21:10:00 +0000
committerDon Bowman <don.waterloo@gmail.com>2015-08-12 21:10:00 +0000
commit1cb46ede1acf4f8527e64fcae7e92672cad764b2 (patch)
treefabb54ee5f040be2a4ee5c95f87cb3e9fbf7bdea /modules/cron/manager.go
parent9e6bd31d76aa6d6495a2144466af78773f34d07c (diff)
parentaede5cdb04fdbf74d9c602062fdece9f408e90f4 (diff)
Merge branch 'master' of https://github.com/gogits/gogs
Conflicts: routers/repo/download.go
Diffstat (limited to 'modules/cron/manager.go')
-rw-r--r--modules/cron/manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cron/manager.go b/modules/cron/manager.go
index 2990ab06..da485d23 100644
--- a/modules/cron/manager.go
+++ b/modules/cron/manager.go
@@ -15,10 +15,10 @@ var c = New()
func NewCronContext() {
c.AddFunc("Update mirrors", "@every 1h", models.MirrorUpdate)
- c.AddFunc("Deliver hooks", fmt.Sprintf("@every %dm", setting.Webhook.TaskInterval), models.DeliverHooks)
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()
}