What is Fixed Rate?

A scheduling mode that runs jobs at exact intervals regardless of how long each execution takes.

Definition

Fixed rate scheduling triggers executions at a constant interval measured from the start of each run, not the end. If a job is configured with a 5-minute fixed rate, it starts every 5 minutes regardless of whether the previous execution has finished. If an execution takes longer than the interval, multiple instances may run concurrently. This provides predictable, clock-aligned timing but requires overlap handling.

๐Ÿ’ก

Simple Analogy

Like a train schedule where trains depart every 10 minutes on the dot โ€” the next train leaves on time regardless of whether the previous one has arrived at its destination.

Why It Matters

Fixed rate scheduling ensures consistent timing, which is essential for tasks that must run at predictable intervals: health checks, metrics collection, and SLA-bound reporting. However, without overlap protection, long-running executions can cause concurrency issues. Understanding fixed rate versus fixed delay helps you choose the right scheduling mode.

How to Verify

Review your execution history timestamps. If start times are evenly spaced regardless of execution durations, you have fixed rate scheduling. Check for overlapping executions in your logs โ€” they indicate the job sometimes takes longer than the interval.

โš ๏ธ

Common Mistakes

Using fixed rate without overlap protection, allowing multiple instances to run simultaneously and fight over shared resources. Not monitoring execution duration relative to the interval โ€” if execution regularly exceeds the interval, jobs pile up. Confusing fixed rate with cron scheduling โ€” cron is calendar-based, not interval-based.

โœ…

Best Practices

Use fixed rate when exact periodicity matters more than overlap avoidance. Always combine fixed rate scheduling with a concurrency policy โ€” either skip the new execution if the previous is still running, or queue it. Monitor execution duration trends and alert before they approach the interval length.

Cron Expression Explainer

Explain a cron expression

Try it free โ†’

Frequently Asked Questions

What is Fixed Rate?

Fixed rate scheduling triggers executions at a constant interval measured from the start of each run, not the end. If a job is configured with a 5-minute fixed rate, it starts every 5 minutes regardless of whether the previous execution has finished. If an execution takes longer than the interval, multiple instances may run concurrently. This provides predictable, clock-aligned timing but requires overlap handling.

Why does Fixed Rate matter for cron jobs?

Fixed rate scheduling ensures consistent timing, which is essential for tasks that must run at predictable intervals: health checks, metrics collection, and SLA-bound reporting. However, without overlap protection, long-running executions can cause concurrency issues. Understanding fixed rate versus fixed delay helps you choose the right scheduling mode.

What are best practices for Fixed Rate?

Use fixed rate when exact periodicity matters more than overlap avoidance. Always combine fixed rate scheduling with a concurrency policy โ€” either skip the new execution if the previous is still running, or queue it. Monitor execution duration trends and alert before they approach the interval length.

Related Terms