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.
- Check the box for the required action (either Deploy or Destroy)
- Input a valid UNIX cron expression (Optional Year suffix isnโt supported).
For example:0 23 * * MON-FRI
(UTC timezone) - Press Save.
