ds_set_schedule
Create a schedule for an Apache DolphinScheduler workflow using a Quartz cron expression. The schedule is created offline and must be activated separately.
Instructions
Create a schedule for a workflow (created OFFLINE; activate with ds_online_schedule).
v2.0.12: cron is now required (no default) to prevent silent misuse.
Args: project_name: Project name workflow_code: Process-definition code cron: Quartz 7-field expression (required, e.g. "0 0 6 * * ? *") start_time: Start time yyyy-MM-dd HH:mm:ss; defaults to today 00:00:00 end_time: End time; defaults to 2030-12-31 23:59:59
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cron | Yes | ||
| end_time | No | ||
| start_time | No | ||
| project_name | Yes | ||
| workflow_code | Yes |