Cron expression generator

Set minute, hour, day, month, weekday and generate the cron line.

{{ cron.message }}

{{ t("cronGuideTitle") }}

{{ t("cronGuideIntro") }} {{ t("cronGuideFormat") }}.

{{ t("cronFieldsTitle") }}

  • {{ t("cronFieldMinuteLabel") }}: {{ t("cronFieldMinuteDesc") }}
  • {{ t("cronFieldHourLabel") }}: {{ t("cronFieldHourDesc") }}
  • {{ t("cronFieldDayOfMonthLabel") }}: {{ t("cronFieldDayOfMonthDesc") }}
  • {{ t("cronFieldMonthLabel") }}: {{ t("cronFieldMonthDesc") }}
  • {{ t("cronFieldDayOfWeekLabel") }}: {{ t("cronFieldDayOfWeekDesc") }}

{{ t("cronCommonChars") }} * ({{ t("cronAny") }}), , ({{ t("cronList") }}), - ({{ t("cronRange") }}), / ({{ t("cronStep") }}).

{{ t("cronTutorialTitle") }}

  1. {{ t("cronStep1") }}
  2. {{ t("cronStep2") }}
  3. {{ t("cronStep3") }}
  4. {{ t("cronStep4") }}
  5. {{ t("cronStep5") }}
  6. {{ t("cronStep6Prefix") }} {{ t("generateExpression") }}{{ t("cronStep6Suffix") }}

{{ t("cronExamplesTitle") }}

*/15 * * * *

{{ t("cronExample1Desc") }}

0 * * * *

{{ t("cronExample2Desc") }}

30 2 * * 1-5

{{ t("cronExample3Desc") }}

0 0 1 * *

{{ t("cronExample4Desc") }}

0 4 * * 0

{{ t("cronExample5Desc") }}

Overview

Cron schedules tasks on Linux/Unix servers. Always verify server timezone and the format expected by your orchestrator.

Technical deep dive

Common questions summarized

  • What is this tool for?: It runs fully in your browser: useful to validate, format, or convert data in everyday development.
  • Are my inputs sent to a server?: Processing happens locally with JavaScript. We do not store what you paste into the text areas.
  • Can I use this for real production data?: Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.

Sample payload to try

  • See also the larger "Code Snippets" sample; paste this excerpt to try locally: Example — 0 3 * * * → todo dia às 03:00 */15 * * * * → a cada 15 minutos

Tool guide

  • What Cron is The classic Unix/Linux scheduler for recurring jobs. A typical line has five fields: minute, hour, day of month, month, weekday.

  • What the tool does Builds the cron string from form choices.

  • Why use it Learn syntax, draft lines for crontab, Kubernetes CronJob, or orchestrators that share the format (check your timezone and variant).

Code Snippets

Code example
0 3 * * *  → todo dia às 03:00
*/15 * * * * → a cada 15 minutos

Example

0 3 * * *  → todo dia às 03:00
*/15 * * * * → a cada 15 minutos

FAQ

What is this tool for?

It runs fully in your browser: useful to validate, format, or convert data in everyday development.

Are my inputs sent to a server?

Processing happens locally with JavaScript. We do not store what you paste into the text areas.

Can I use this for real production data?

Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.