summaryrefslogtreecommitdiff
path: root/doc/administration
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-06 12:26:29 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-06 12:26:29 +0200
commite3558ed67e7e829fe5148c3fb2fe80ed045fe1b4 (patch)
tree8363cb643c3b4ced418a2ad3ffebd10b50da72b9 /doc/administration
parentbf9526739b5c90790907c1d8b9410dd339e3d395 (diff)
downloadgitlab-ce-e3558ed67e7e829fe5148c3fb2fe80ed045fe1b4.tar.gz
Document how to disable repo checks
Diffstat (limited to 'doc/administration')
-rw-r--r--doc/administration/repo_checks.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/administration/repo_checks.md b/doc/administration/repo_checks.md
index 9c2c01594e8..81087f3ac1c 100644
--- a/doc/administration/repo_checks.md
+++ b/doc/administration/repo_checks.md
@@ -20,6 +20,22 @@ fail their repo checks all GitLab administrators will receive an email
notification of the situation. This notification is sent out no more
than once a day.
+## Disabling periodic checks
+
+You can disable the periodic checks by giving them an empty cron
+schedule in gitlab.yml.
+
+```
+# For omnibus installations, in /etc/gitlab/gitlab.rb:
+gitlab_rails['cron_jobs_repo_check_worker_cron'] = ''
+```
+
+```
+# For installations from source, in config/gitlab.yml:
+ cron_jobs:
+ repo_check_worker:
+ cron: ""
+```
## What to do if a check failed