Skip to main content

Espressione cron

Formato: minuto ora giorno-mese mese giorno-settimana

Come utilizzare Cron Expression Tester

Insert expression with 5 fields

Write the expression in the format "minute hour day-month month day-week" (e.g. 5/5/5/1), or choose a common preset from the sidebar.

Choose how many future executions to display

Set the number of next executions to calculate (from 1 to 20) in the "Executions" field, then press "Analyze Expression".

Read the description and execution list

The tool shows a natural language description of the expression and the list of upcoming planned executions, calculated from the next minute after the current one.

Copy results or check quick reference

Use "Copy" to export text and dates as plain text, or consult the Special Characters table and practical examples in the sidebar.

Suggerimenti

  • Use presets from the sidebar to start with common expressions (every minute, every hour, every Monday) and then modify them progressively.
  • Check the "Quick Reference" table for practical examples, such as "0 9-17 * * 1-5" for weekdays.

Domande frequenti

What expression format does the tool support?

The parser accepts the standard 5-field format (minute, hour, day of month, month, day of week), used by crontab Unix/Linux. It does not support the sixth field "seconds" used by some application schedulers (e.g., Quartz, Spring).

What special characters can I use in fields?

We support asterisk (* = every value), comma (, = list of values e.g. 0,30), hyphen (- = interval, e.g. 1-5) and slash (/ = step, e.g. */15). You can combine them, for example "1-5/2" or "0,15,30,45".

How are they managed together day of the month and day of the week?

Follows standard semantics: if both fields are restricted (different from *), execution occurs when at least one of the two conditions is true (logical OR). If one of them is "*/", only the other field counts.

Why don't I see any future executions for my expression?

The tool scans up to a year ahead (525,600 minutes): if it doesn't find matches within that interval, fields may produce an empty or inconsistent range (e.g. day 31 with February month). Check the valid ranges for each field.

What time zone are these dates calculated for?

The calculation uses your local browser's time zone (device date and time). If your cron job runs on a server with a different time zone, consider the offset when comparing results.