Schedule
Experiments can be run on the fly using the UI, API, or CLI, or scheduled to run automatically in the future. Scheduling an experiment can be done via UI or API.
Scheduling via UI
You can open the scheduling configuration dialog in the platform either in the experiment editor or the experiment list's context menu.

When the configuration dialog opens, you can manage multiple experiment schedules. Each schedule can run the experiment just once or repeatedly in the future.
One-Time Schedule
The configuration is straightforward if you decide to run it once. Just select a date and time in the future and save the schedule. Please keep the "Activate Schedule" toggle enabled. Otherwise, the schedule will be ignored and not run.

Recurring Schedule
Experiments can be scheduled to run repeatedly (like every hour or every Friday morning). To do so, you have to configure a cron-like expression.

Schedules Overview
In the experiment list section on the left-hand side, you can find a quick overview of all configured schedules. Here you can see when each schedule will next be triggered, and enable, disable or delete it.

Experiment Variable Overrides
If the experiment is making use of an environment, service, or experiment variable, you can override them in the schedule. As in the experiment editor, the experiment is validated when you enter unsupported values (e.g. entering "name" into a duration variable). Schedule variables override the environment, service and experiment values for every run triggered by this schedule.

Run in Parallel
Two toggles decide what a schedule does when it is due while experiments are already running:
Run Experiments in parallel: run even when another experiment is running.
Run while this experiment is running: run even when a run of this same experiment is still in progress. Both runs may attack the same targets, so it is off by default.
A scheduled run held back by either is recorded as a canceled run, with the reason on its page.

Via the API, these are the schedule's allowParallel and allowRunningAgain fields.
Scheduling via API
Schedules can also be configured using the following API endpoints. Check out Integrate with Steadybit / API to learn how to access the API.
Each experiment schedule can be identified via a UUID (id) which can be used to update or delete a specific schedule.
Last updated
Was this helpful?
