Glab schedule

From vince-winkintel/gitlab-cli-skills · View interactive version

Glab schedule is an AI agent skill from the GitHub repository vince-winkintel/gitlab-cli-skills. 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.

How to use this skill

Skill file

glab schedule

Overview


  Work with GitLab CI/CD schedules.
  USAGE
    glab schedule <command> [command] [--flags]
  COMMANDS
    create [--flags]       Schedule a new pipeline.
    delete <id> [--flags]  Delete the schedule with the specified ID.
    list [--flags]         Get the list of schedules.
    run <id>               Run the specified scheduled pipeline.
    update <id> [--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

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.

# 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 <key>:<value> input before creating schedules.

Subcommands

See references/commands.md for full --help output.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.