Overview
Schedulers automatically run your Playwright tests on a schedule. Define when tests should run and which tests to run, and Stably handles the rest.Creating a Scheduler
Create schedulers in the Stably dashboard with two modes:Simple Mode
Choose from hourly, daily, weekly, or monthly schedules. Select projects from a dropdown.
Advanced Mode
Write custom cron expressions and specify any CLI arguments for full control.
Schedule Frequency
Simple Mode
- Hourly: Run every hour at a specific minute (0-59)
- Daily: Run once per day at a specific time
- Weekly: Run on specific days of the week at a specific time
- Monthly: Run on a specific day of each month (days 1-28 only)
Advanced Mode - Cron Expressions
Advanced mode uses standard cron expressions:*, */n, n-m, n,m,o
Examples:
*/15 * * * *- Every 15 minutes0 */6 * * *- Every 6 hours0 9,17 * * 1-5- Every weekday at 9 AM and 5 PM
Use crontab.guru to validate and understand cron expressions.
Test Selection
Simple Mode: Select one or more Playwright projects from a dropdown. If none selected, all tests run. Advanced Mode: Enter any validstably test CLI arguments:
--project <name>- Run specific projects--grep <pattern>- Filter tests by pattern--workers <n>- Control parallelism--env <name>- Set environment--retries <n>- Configure retries
--reporter is blocked for security reasons.
Timezone
Select a timezone to determine when your cron expression is evaluated. Defaults to Pacific Time (America/Los_Angeles) if not specified.
Storage
Schedulers are stored instably.yaml in your repository root:
stably.yaml
Troubleshooting
Schedules not running? Verifystably.yaml is in the repository root and check your cron expression syntax using crontab.guru.
Tests run at wrong time? Check your timezone setting—it defaults to Pacific Time if not specified.