--- name: glab-schedule description: Manage CI/CD pipeline schedules including create, list, update, delete, and run scheduled pipelines. Use when automating pipelines, setting up cron jobs, or managing scheduled builds. Triggers on schedule, scheduled pipeline, cron, pipeline schedule, automated build. --- # glab schedule ## Overview ``` Work with GitLab CI/CD schedules. USAGE glab schedule [command] [--flags] COMMANDS create [--flags] Schedule a new pipeline. delete [--flags] Delete the schedule with the specified ID. list [--flags] Get the list of schedules. run Run the specified scheduled pipeline. update [--flags] Update a pipeline schedule. FLAGS -h --help Show help for this command. -R --repo Select another repository. Can use either `OWNER/REPO` or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL. ``` ## Quick start ```bash glab schedule --help ``` ## Structured output `glab schedule list` supports `--output json` / `-F json` for structured output, which is useful for agent automation. The human list header uses the API-reported total across pages rather than treating the current page length as the total. JSON still contains only the fetched page of schedules; use `--page` and `--per-page` to inspect subsequent pages. Do not mistake the header's total for a fully fetched inventory, and do not create, update, run, or delete schedules as part of a read-only audit. ```bash # List schedules with JSON output glab schedule list --output json glab schedule list -F json ``` ## Schedule variables Schedule variable keys are validated before schedule creation. Empty keys are rejected, so check generated `--variable :` input before creating schedules. ## Subcommands See [references/commands.md](references/commands.md) for full `--help` output.