Schedule
Last updated
Last updated
Experiments can be run on the fly using the “Run Experiment” button (or via API) but also can be scheduled to be automatically run in the future. Scheduling an experiment can be done via UI or API.
To schedule an experiment one must have permissions to edit the experiment. This means, one has to be a member of the team.
Please note that a scheduled experiments is always executed even when another experiment runs in parallel.
There are two ways to open up the scheduling configuration dialog in the platform: One is in the experiment list, and the other is in the experiment editor.
When the configuration dialog opens up, one can decide either to run the experiment just once in the future or repeatedly.
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 executed.
The date and time selections are done in the user’s configured timezone. The currently configured timezone will also be printed above the time selection for awareness.
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.
Just so you know, we are using the Quartz cron trigger syntax. The Quartz cron expression is evaluated in the user’s configured timezone. The currently configured timezone will also be shown for the next experiment run.
In the experiment list section on the left-hand side, you can find a quick overview of all configured schedules. Here, you can easily see when the schedules will be triggered next, enable/disable or even delete the schedule.
Schedules can also be configured using the following API endpoints. Check out Integrate with Steadybit / API how to access the API.