Understanding Cron Job Scheduling
Cron is the standard job scheduler utility in Unix-like operating systems. System administrators and web developers use cron syntax to schedule automated tasks like database backups, automated emails, and microservice health checks.
Frequently Asked Questions
What is a cron expression?
A cron expression is a string of 5 (or 6) fields separated by spaces that defines a recurring execution schedule for automated background jobs in Linux, Unix, and cloud server environments.
What do the 5 fields in a standard cron expression represent?
The 5 fields represent in order: 1) Minute (0-59), 2) Hour (0-23), 3) Day of Month (1-31), 4) Month (1-12), and 5) Day of Week (0-6, where 0 is Sunday).
What does the asterisk (*) symbol mean in cron syntax?
The asterisk `*` acts as a wildcard meaning 'every' or 'all valid values' for that field (e.g. `*` in the Minute field means 'every minute').
What does the step operator (/N) mean?
The step operator `/N` specifies value increments (e.g. `*/15` in the Minute field means 'every 15 minutes').
How do I schedule a job every weekday at 9 AM?
The cron expression for every weekday (Monday through Friday) at 9:00 AM is `0 9 * * 1-5`.
How do I schedule a job every Sunday at midnight?
The cron expression for every Sunday at midnight is `0 0 * * 0` (or `0 0 * * 7`).
Can I use month names like JAN or FEB in cron expressions?
Yes. Most modern cron implementations (like Crontab and Vercel/AWS Cron) support 3-letter month names (JAN-DEC) and day names (SUN-SAT).
Where are cron jobs configured on Linux servers?
On Linux/Unix systems, cron jobs are configured by editing the user crontab file using the `crontab -e` terminal command.
Sources & References
Related Calculators & Tools
Browse Developer Tools →Beautify, minify, and validate JSON with syntax highlighting and optional schema validation.
Test and debug regular expressions with live match highlighting, capture group extraction, and plain-English pattern explanation.
Generate v1, v4, and v7 UUIDs in bulk with options for casing, dashes, and copy-to-clipboard.
Encode and decode Base64 strings, images, and files with drag-and-drop support and data URI preview.