env0

Scheduling

What is Scheduling?

Scheduling allows you to automatically trigger destroys and deploys of your environments on a scheduled basis.

Scheduling is configured based on cron expressions, and can be attached to an already deployed environment only.

📘

Scheduling vs TTL

Scheduling is an advanced feature that currently can't coexist with the simpler TTL policy of your environment, so please note that enabling scheduling for you environment will disable any existing TTL setting of your environment.

It's also important to notice that TTL policies don't apply on any scheduled recurrences.

Who Can Configure Scheduling

The minimum role for setting a scheduled action for an environment is Project Deployer .

How To Configure Scheduling

After deploying your environment, you'll see a tab called Scheduling on the Environment Details page.

To configure scheduling for your environment:

  1. Check the box for the required action (either Deploy or Destroy)
  2. Input a valid UNIX cron expression (Optional Year suffix isn't supported).
    For example: _0 23 * * MON-FRI_
  3. Press Save.

The environment is now scheduled! You may notice that the environment's countdown indication has changed per your next schedule:

Updated 2 months ago

Scheduling


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.