Commit 31d039bc authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'hchouraria-docs-document-fugit-acceptable-syntaxes' into 'master'

Add CRON examples to pipeline schedules

See merge request gitlab-org/gitlab!72436
parents 8f5bc397 ff6b2307
......@@ -12,14 +12,16 @@ Pipelines are normally run based on certain conditions being met. For example, w
Pipeline schedules can be used to also run [pipelines](index.md) at specific intervals. For example:
- Every month on the 22nd for a certain branch.
- Once every day.
- Every month on the 22nd (cron example: `0 0 22 * *`) for a certain branch.
- Every month on the 2nd Monday (cron example: `0 0 * * 1#2`).
- Every other Sunday at 0900 hours (cron example: `0 9 * * sun%2`).
- Once every day (cron example: `0 0 * * *`).
Schedule timing is configured with cron notation, parsed by [Fugit](https://github.com/floraison/fugit).
In addition to using the GitLab UI, pipeline schedules can be maintained using the
[Pipeline schedules API](../../api/pipeline_schedules.md).
Schedule timing is configured with cron notation, parsed by [Fugit](https://github.com/floraison/fugit).
## Prerequisites
In order for a scheduled pipeline to be created successfully:
......
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