GlobalUso gratuito

Explicador de expressões cron e horários das próximas execuções

Cole uma expressão cron de cinco campos, como */15 9-17 * * 1-5 ou @daily, para ver o significado de cada campo e os horários das próximas execuções em UTC a partir de uma data de sua escolha. Aceita listas, intervalos, passos e nomes de meses e dias.

Seus dados ficam nesta aba. Não recebemos seus arquivos, textos colados nem valores de cálculo.

Entrada

Dica: pressione Ctrl + Enter para executar

Seu resultado

Seu resultado aparecerá aqui.

Por enquanto, a ajuda detalhada abaixo está disponível apenas em inglês.

Sobre esta ferramenta

Cron schedules power backups, reports, cleanup jobs and reminders on servers everywhere, but five cryptic fields like */15 9-17 * * 1-5 are easy to misread. A single wrong field can mean a job runs every minute instead of every hour, or never at all. This explainer breaks the expression into its fields (minute, hour, day of the month, month and day of the week), describes each one in words and lists the next times the job will run.

It understands the standard crontab features: lists (1,15), ranges (9-17), steps (*/15 or 0-30/10), month and weekday names (JAN, MON) and the @daily, @weekly, @monthly, @yearly and @hourly shortcuts. Run times are given in UTC from a start date and time you choose, which is how most servers run cron.

Como usar

  1. Paste the cron expression, for example 0 2 * * 0 or @daily.
  2. Set the date and time (UTC) to count from, such as the next deployment.
  3. Choose how many upcoming runs to list, up to 20.
  4. Run it and read the field-by-field description and the list of next run times.

Como o cálculo funciona

Each field is expanded into the set of values it allows: * means every value, a-b a range, x/n every n-th value, and commas join parts. Day-of-week 0 and 7 both mean Sunday. A minute matches when its month, hour and minute are in their sets and the day matches: if both day fields are restricted, classic (Vixie) cron accepts either one; otherwise both must match. The explainer steps forward day by day and lists the matching minutes after the start time.

a run happens at every minute that matches all five fields; when both day fields are restricted, either may match

Exemplo prático

A team schedules a health check with */15 9-17 * * 1-5 and wants to know when it first runs after 08:00 UTC on Monday, November 2, 2026. The explainer reads it as every 15 minutes, hours 09:00 to 17:00, Monday to Friday, and lists 09:00, 09:15, 09:30, 09:45 and 10:00 UTC that morning. The last run each day is at 17:45, not 17:00, a detail that often surprises people.

Exemplo de entrada e resultado

*/15 9-17 * * 1-5: a cada 15 minutos das 09:00 às 17:45, de segunda a sexta (UTC)

Limitações

  • Five-field crontab syntax only; no seconds, years or Quartz symbols (?, L, W, #).
  • Run times are calculated in UTC and ignore daylight-saving changes in local server time.
  • Searches up to about eight years ahead; schedules such as 0 0 30 2 * that never occur are reported.

Última atualização:

Perguntas frequentes

O que significa */15 no cron?

A cada 15 unidades daquele campo, a partir do menor valor: no campo de minutos, significa os minutos 0, 15, 30 e 45.

Por que minha tarefa é executada em mais dias do que eu esperava?

Quando os campos de dia do mês e de dia da semana estão ambos restritos, o cron clássico executa a tarefa quando qualquer um deles coincide. Defina um deles como * para exigir apenas o outro.

Perguntas frequentes

What time zone does cron use?

The time zone of the server or the CRON_TZ setting, which is often UTC. This explainer lists runs in UTC; convert them with the UTC time converter if your server uses local time.

How do I run a job every weekday at 9 a.m.?

Use 0 9 * * 1-5: minute 0, hour 9, any day of the month, any month, Monday to Friday.

Does it support seconds or the Quartz ? and L symbols?

No. It reads the standard five-field crontab format; six- and seven-field Quartz or Spring expressions need a different tool.

Solução de problemas

It says the expression must have five fields.

Separate the fields with single spaces and remove any command text after the schedule.

It says the schedule never runs.

Check impossible dates, such as day 30 or 31 in February, or day 31 in a 30-day month only.

Privacidade & Uso gratuito

Meus dados são armazenados?

Seus dados ficam nesta aba. Não recebemos seus arquivos, textos colados nem valores de cálculo.

Esta ferramenta é gratuita?

Sim. Não é preciso cadastro nem pagamento.

Processado no seu navegador

Próximos passos úteis