ds_update_schedule_cron
Update the cron expression of an existing schedule while keeping all other settings unchanged. Automatically goes offline to apply the update and re-onlines by default.
Instructions
Update only the cron expression of a schedule (keeps all other settings).
Flow: read current state → offline if needed → update → re-online (default).
v2.0.10: queries the target schedule directly instead of scanning the full list.
Args: project_name: Project name schedule_id: Schedule ID (from ds_list_schedules) cron: New Quartz 7-field expression start_time: New start time yyyy-MM-dd HH:mm:ss (keep original if empty) end_time: New end time (keep original if empty) auto_online: Re-activate after update (default True)
Returns: { "schedule_id": int, "new_cron": str, "release_state": "ONLINE" | "OFFLINE", "status": "updated", "online_retry_detail": str }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cron | Yes | ||
| end_time | No | ||
| start_time | No | ||
| auto_online | No | ||
| schedule_id | Yes | ||
| project_name | Yes |