---
title: esc env schedule edit | CLI commands
url: /docs/esc/cli/commands/esc_env_schedule_edit/
---

Edit an environment scheduled action.

## Synopsis

[EXPERIMENTAL] Edit an environment scheduled action

This command updates the timing of an existing scheduled action. Use --cron to
switch to (or update) a recurring schedule or --once to switch to (or update) a
one-time schedule at a specific time (ISO 8601 / RFC 3339).

The minimum cron interval is once per day.

```
esc env schedule edit [<org-name>/][/]<environment-name> <schedule-id> [flags]
```

## Options

```
      --cron string   a cron expression for a recurring schedule (minimum interval: once daily)
  -h, --help          help for edit
      --once string   an ISO 8601 / RFC 3339 timestamp in the future for a one-time schedule
```

## Options inherited from parent commands

```
      --env string   The name of the environment to operate on.
```

## SEE ALSO

* [esc env schedule](/docs/esc/cli/commands/esc_env_schedule/)	 - Manage environment scheduled actions


