systemd guru

The quick and simple editor for systemd timer expressions by Cronitor

loading...

Learn SystemD OnCalendar Expressions

Human-readable timer expressions with support for weekdays, second precision, and flexible scheduling patterns.

Accuracy Guarantees

Control timing precision with AccuracySec to balance system load and scheduling accuracy.

AccuracySec=1s High precision
AccuracySec=1m Default accuracy

Adding Jitter

Prevent thundering herd problems by randomizing execution time with RandomizedDelaySec.

RandomizedDelaySec=5m Random 0-5min delay
RandomizedDelaySec=1h Random 0-1hr delay

Persistent Timers

Run missed executions after system restart with Persistent=true for critical tasks.

Persistent=true Catch up missed runs
Persistent=false Skip missed runs

Concurrent Run Control

Prevent overlapping executions and enforce maximum runtime with RuntimeMaxSec.

RuntimeMaxSec=5m Kill after 5 minutes
RuntimeMaxSec=infinity No time limit

Automatic Retries

Handle failures gracefully with Restart=on-failure and configurable retry timing limits.

Restart=on-failure Retry on error
RestartSec=30s Wait 30s between

Multiple Schedules

Combine multiple OnCalendar entries to create complex scheduling patterns for a single job.

OnCalendar=Mon 09:00 Monday mornings
OnCalendar=Fri 17:00 Friday evenings

© Cronitor.io