GitLab CI/CD 1 · When jobs run
Run only on a schedule
Run a job only in scheduled pipelines, which you configure under Build, Pipeline schedules.
nightly-job:
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
Official GitLab CI/CD 1 documentation