---
title: "update schedule"
method: POST
path: "/w/{workspace}/schedules/update/{path}"
tags: ["schedule"]
---

# update schedule

`POST /w/{workspace}/schedules/update/{path}`

## Path parameters

- `workspace` string, required
- `path` string, required

## Request body

- EditSchedule
  - `schedule` string, required — Cron expression with 6 fields (seconds, minutes, hours, day of month, month, day of week). Example '0 0 12 * * *' for daily at noon
  - `timezone` string, required — IANA timezone for the schedule (e.g., 'UTC', 'Europe/Paris', 'America/New_York')
  - `args` ScriptArgs, required — The arguments to pass to the script or flow
  - `on_failure` string, nullable — Path to a script or flow to run when the scheduled job fails
  - `on_failure_times` number, nullable — Number of consecutive failures before the on_failure handler is triggered (default 1)
  - `on_failure_exact` boolean, nullable — If true, trigger on_failure handler only on exactly N failures, not on every failure after N
  - `on_failure_extra_args` ScriptArgs — The arguments to pass to the script or flow
  - `on_recovery` string, nullable — Path to a script or flow to run when the schedule recovers after failures
  - `on_recovery_times` number, nullable — Number of consecutive successes before the on_recovery handler is triggered (default 1)
  - `on_recovery_extra_args` ScriptArgs — The arguments to pass to the script or flow
  - `on_success` string, nullable — Path to a script or flow to run after each successful execution
  - `on_success_extra_args` ScriptArgs — The arguments to pass to the script or flow
  - `ws_error_handler_muted` boolean — If true, the workspace-level error handler will not be triggered for this schedule's failures
  - `retry` Retry — unresolved $ref
  - `no_flow_overlap` boolean — If true, skip this schedule's execution if the previous run is still in progress (prevents concurrent runs)
  - `summary` string, nullable — Short summary describing the purpose of this schedule
  - `description` string, nullable — Detailed description of what this schedule does
  - `tag` string, nullable — Worker tag to route jobs to specific worker groups
  - `paused_until` string, date-time, nullable — ISO 8601 datetime until which the schedule is paused. Schedule resumes automatically after this time
  - `cron_version` string, nullable — Cron parser version. Use 'v2' for extended syntax with additional features
  - `dynamic_skip` string, nullable — Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)
  - `permissioned_as` string, nullable — The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup'). Only admins and wm_deployers can set this via preserve_permissioned_as.
  - `preserve_permissioned_as` boolean, nullable — If true and user is admin/wm_deployers, preserve the provided permissioned_as instead of using the deploying user's identity
  - `labels` string[]

## Response `200`

schedule updated

---

[API](https://skmtc.net/windmill/apis/windmill-api.md) · [All operations](https://skmtc.net/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/a7f071808448/schema)
