Skip to main content
Enterprise Support Available
Spice.ai Enterprise provides full support for up to 3 years from the release date.
Version: v1.5

Cron Schedules

The Runtime supports cron expressions with optional seconds, like */10 * * * * * which evaluates to every 10th second (10, 20, 30, etc).

Cron expressions in the Runtime evaluate according to the systems local time where the Runtime is running.

The Spice Runtime uses the croner Rust crate for parsing cron expressions.

Examples

At 1am every Monday

0 1 * * 1

At midday every weekday (Monday-Friday)

0 12 * * 1-5

Every hour, at 5 minutes past the hour

5 * * * *

Every 10 minutes

*/10 * * * *

Every 5 minutes at 30 seconds

30 */5 * * * *