Commit 32f8465c authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Split user and admin docs for repository mirroring

parent e7bb4975
# Cron jobs
## Adjusting synchronization times for repository mirroring
>**Notes:**
- This is an [Enterprise Edition][ee] only feature.
- For more information on the repository mirroring, see the
[user documentation](../workflow/repository_mirroring.md).
You can manually configure the repository synchronization times by setting the
following configuration values.
Please note that `update_all_mirrors_worker_cron` refers to the worker used for
pulling changes from a remote mirror while `update_all_remote_mirrors_worker_cron`
refers to the worker used for pushing changes to the remote mirror.
>**Note:**
These are cron formatted values. You can use a crontab generator to create these
values, for example http://www.crontabgenerator.com/.
**Omnibus installations**
```
gitlab_rails['update_all_mirrors_worker_cron'] = "0 * * * *"
gitlab_rails['update_all_remote_mirrors_worker_cron'] = "30 * * * *"
```
**Source installations**
```
cron_jobs:
update_all_mirrors_worker_cron:
cron: "0 * * * *"
update_all_remote_mirrors_worker_cron:
cron: "30 * * * *"
```
[ee]: https://about.gitlab.com/products
......@@ -92,26 +92,9 @@ While mirrors update once an hour, you can force an update (either **push** or
## Adjusting synchronization times
You can manually configure the repository synchronization times by setting the following configuration values. *These are cron formatted values.* You can use a crontab generator to create these values, for example http://www.crontabgenerator.com/
Please note that `update_all_mirrors_worker_cron` refers to the worker used for pulling changes from a remote mirror while `update_all_remote_mirrors_worker_cron` refers to the worker used for pushing changes to the remote mirror.
**Omnibus installations**
```
# gitlab_rails['update_all_mirrors_worker_cron'] = "0 * * * *"
# gitlab_rails['update_all_remote_mirrors_worker_cron'] = "30 * * * *"
```
**Source installations**
```
cron_jobs:
update_all_mirrors_worker_cron:
cron: "0 * * * *"
update_all_remote_mirrors_worker_cron:
cron: "30 * * * *"
```
You can adjust the synchronization times for the repository mirroring if you
have access to the GitLab server. For more information, see
[the administration documentation](../administration/cron_jobs.md#adjusting-synchronization-times-for-repository-mirroring).
[ee-51]: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/51
[perms]: ../user/permissions.md
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment