Scheduling automated test runs at custom cron intervals
Updated on April 28, 2026
Updated on April 28, 2026
Pull request checks catch obvious breakage. They do not catch the slow drift that happens between merges: third-party outages, expired test data, flaky dependencies, performance regressions, and UI changes that land outside your team’s immediate line of sight.
That is where scheduled test runs earn their keep. With Shiplight AI, you can run suites on a predictable cadence, hourly, nightly, or at custom cron intervals, and get reliable, browser-based verification without turning test maintenance into a second job.
This guide covers how to think about cron scheduling, how to choose the right intervals, and how teams typically operationalize scheduled runs with Shiplight’s scheduled and on-demand execution, cloud runners, reporting, and hooks.
“Nightly” is a blunt instrument. Cron gives you precision:
Cron schedules are also easier to standardize across teams, because the same pattern can be used whether you schedule runs in a testing platform or trigger them from CI.
Cron is deceptively simple. Most systems use a five-field format:
minute hour day-of-month month day-of-week
A few platforms add a sixth “seconds” field. Because implementations vary, treat cron as a shared concept, then confirm the exact format wherever you configure it.
What matters operationally is not the syntax, but the behavior.
Cron schedules are evaluated in a specific time zone, and that time zone choice determines whether “2:00 AM daily” is stable year-round. If your schedule is tied to human workflows (for example, “run before standup”), use a consistent team time zone and be explicit about it wherever schedules are configured.
If your schedule is tied to system load (for example, “run when traffic is lowest”), consider anchoring to UTC to avoid daylight savings surprises.
If a suite takes longer than its schedule interval, you can end up with overlapping runs. High-signal scheduled testing is designed to finish comfortably before the next trigger.
As a rule of thumb:
Shiplight’s cloud runners and parallel execution help keep schedules realistic even as coverage grows, but it is still worth designing suites with runtime and purpose in mind.
Below are example cron patterns in the common five-field format. Use them as a starting point, then adapt for your environment and time zone.
Two practical notes:
Shiplight supports both scheduled runs and on-demand execution, which gives teams flexibility in how they operationalize cron-based testing. In practice, there are two reliable patterns.
If you want the simplest operational setup, schedule runs directly in Shiplight.
This model works well when:
A clean way to structure this is to schedule at the suite level, where each suite represents a clear intent:
Shiplight’s intent-based execution and self-healing approach are especially valuable here, because scheduled runs tend to expose the kind of UI drift that breaks brittle selector-based automation. The point of cron is consistency. If the suite is constantly red for tooling reasons, the schedule becomes meaningless.
If your organization centralizes scheduling in CI, you can keep the cron trigger there and use it to kick off Shiplight runs.
This model works well when:
For example, GitHub Actions supports cron scheduling via on: schedule, and Jenkins supports cron-like triggers for jobs. In those setups, you typically trigger the same Shiplight run method you use for pull requests, just on a time-based schedule instead of a code event.
The best cron schedule is the one your team trusts. These practices help you get there.
Cron scheduling is not about running more tests. It is about running the right tests at the right cadence, so you catch regressions when they are cheapest to fix and most likely to matter.
Shiplight AI makes scheduled testing practical for AI-native teams by reducing the operational drag that usually comes with end-to-end automation: brittle selectors, constant maintenance, and dashboards that look green until they suddenly do not. With scheduled and on-demand runs, cloud execution, and reporting built for real workflows, you can turn cron intervals into continuous verification your team actually trusts.