update_schedule
Modify an existing schedule's settings including template, cron expression, schedule type, and active status within a project.
Instructions
Update an existing schedule.
Args: project_id: ID of the project schedule_id: ID of the schedule to update template_id: ID of the template to run name: Schedule name cron_format: Cron expression for recurring schedules active: Whether the schedule is enabled schedule_type: Schedule type: "" for cron, or "run_at" for one-time runs run_at: RFC3339 timestamp for one-time schedules task_params: Optional task parameters to pass when the schedule runs delete_after_run: Delete the one-time schedule after it runs repository_id: Optional repository ID for commit-check schedules
Returns: Updated schedule details or empty dict on success
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| schedule_id | Yes | ||
| template_id | No | ||
| name | No | ||
| cron_format | No | ||
| active | No | ||
| schedule_type | No | ||
| run_at | No | ||
| task_params | No | ||
| delete_after_run | No | ||
| repository_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||