Parser cron

Incolla un'espressione cron per vedere cosa significa in linguaggio naturale e quando partirà. Supporta la sintassi standard a cinque campi e gli alias @hourly / @daily / @weekly / @monthly / @yearly.

Le prossime esecuzioni sono calcolate nel fuso orario locale del tuo browser.

In linguaggio naturale

Plain-English explanation will appear here.

Prossime 5 esecuzioni (ora locale)

Next scheduled run times will appear here.
Type a cron expression — fields are minute hour day-of-month month day-of-week.

Riferimento ai campi

FieldRangeSpecial
Minute0–59* , - */N
Hour0–23* , - */N
Day of month1–31* , - */N
Month1–12 or JANDEC* , - */N
Day of week0–6 (Sun=0) or SUNSAT* , - */N

Aliases: @yearly = 0 0 1 1 *, @monthly = 0 0 1 * *, @weekly = 0 0 * * 0, @daily = 0 0 * * *, @hourly = 0 * * * *.

Interazione tra giorno-del-mese e giorno-della-settimana

POSIX-style cron evaluates day-of-month and day-of-week with an OR rule when both are restricted. For example 0 12 1 * 1 fires at noon on the 1st of every month and every Monday — not only Mondays that fall on the 1st. If you want “only Mondays that are the 1st”, you have to filter inside the job.

FAQ

Cosa significa 0 12 1 * 1?

Mezzogiorno del 1° di ogni mese oppure mezzogiorno ogni lunedì. Il cron standard tratta day-of-month e day-of-week come OR quando entrambi sono limitati.

Perché */5 * * * * non è esattamente ogni 5 minuti?

Lo è — ma capita sempre su minuti multipli di 5 (0, 5, 10, …), non su offset dall'avvio del job. */5 significa «valori divisibili per 5 entro l'intervallo del campo».

I secondi sono supportati?

Non in questo parser. Il cron Unix standard ha cinque campi e nessun secondo. Alcuni scheduler (Quartz, Spring) aggiungono un sesto campo di secondi — incolla quelli in un parser che supporti il formato a sei campi.

In quale fuso orario sono le prossime esecuzioni?

Il fuso orario locale del tuo browser. L'etichetta sopra la lista mostra l'offset per chiarezza.

Strumenti correlati