Skip to main content

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 TTLScheduling 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, click on Settings tab, on **Environment Details **page and scroll down to the Scheduling card.
Environment scheduling configuration interface
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 (UTC timezone)
  3. Press Save.
The environment is now scheduled! You may notice that the environmentโ€™s countdown indication has changed per your next schedule:
Scheduled environment countdown display
โŒ˜I