Frequently Asked Questions
What do the five cron fields mean?
Standard cron has five fields: minute (0–59), hour (0–23), day-of-month (1–31), month (1–12), and day-of-week (0–6, Sunday = 0). For example, "0 9 * * 1" runs at 09:00 every Monday.
How are the next run times found?
Starting from the current time, the parser advances minute by minute and keeps each timestamp whose fields all match the expression. Listing the next N matches gives the upcoming schedule.
What do *, /, ,, and - mean in a field?
"*" matches every value, "*/5" matches every 5th value (e.g. every 5 minutes), "1,15" matches a list, and "1-5" matches a range. Combined, "0 */2 * * 1-5" runs at the top of every other hour on weekdays.
How do day-of-month and day-of-week interact?
In classic cron, when both day-of-month and day-of-week are restricted (not *), the job runs when either matches - an OR, not an AND. So "0 0 1 * 1" fires on the 1st of the month and on every Monday.
Provided by AllCalculators.io
Free online calculators for everyday. No registration required.
Estimates for informational purposes only.
Important Disclaimer: Estimates for informational purposes only.
This calculator provides estimates for informational purposes only. Results are based on assumptions and may not reflect actual outcomes. Consult qualified professionals in relevant fields before making important decisions based on these results.