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.
The minimum role for setting a scheduled action for an environment is Project Deployer .
After deploying your environment, you'll see a tab called Scheduling on the Environment Details page.
To configure scheduling for your environment:
- Check the box for the required action (either Deploy or Destroy)
- Input a valid UNIX cron expression (Optional Year suffix isn't supported).
_0 23 * * MON-FRI_
- Press Save.
The environment is now scheduled! You may notice that the environment's countdown indication has changed per your next schedule:
Updated 5 months ago