Cron Expression Builder
Type the schedule you want in everyday language — "every 5 minutes", "every day at 3am", "every monday at 9am" — and get a ready-to-use cron expression together with a field-by-field explanation of what the expression actually does.
Describe your schedule
Cron expression
Ready — paste some input or load the sample.
100% Client-Side · Privacy First. This tool runs entirely inside your browser. Nothing you type is uploaded, logged or sent to a server — you can even use it offline.
Overview
Writing a cron expression by hand means remembering five fields in a fixed order, and the mistakes are easy to make and hard to spot. The minute field comes first and the day of week comes last, so a schedule that fires at 3:30 in the afternoon is 30 15 and not 15 30, which is one of the most common errors in a crontab. This builder takes plain English instead: you type something like every day at 3:30pm or every monday at 9am and it produces the expression, together with a field-by-field breakdown so you can see exactly what each part means. It also handles the recurring phrases that appear in real requirements — every 15 minutes, every hour, on the first day of the month, at weekends, twice a day — and produces the step and list syntax that they map onto. The explanation panel is the part to read before you paste the result into a crontab, because it shows the schedule in words and reminds you that cron uses the timezone of the daemon rather than of your laptop.
How to use the cron expression builder
- 1Describe the schedule in plain English in the input panel, for example "every day at 3:30pm" or "every 15 minutes".
- 2Read the generated five field expression in the output panel.
- 3Check the field breakdown to confirm the minute, hour, day of month, month and day of week are what you intended.
- 4Copy the cron expression into your crontab, a CI pipeline or a Kubernetes CronJob schedule field.
- 5Verify the first few run times with the cron explainer before you rely on the schedule, especially when the day of month and the day of week are both restricted.
- 6Read the notes for anything the phrase could not express, such as a schedule that needs a sixth seconds field.
Cheat sheet
The syntax you will use most, and what each part does.
| Pattern | What it means |
|---|---|
minute hour day-of-month month day-of-week |
The five fields, in this order, and the day of week is last even though it reads last in English. |
every 15 minutes |
Becomes */15 * * * *, where the step runs over the whole field. |
every hour |
Becomes 0 * * * *, which fires at minute zero of every hour. |
at 3:30pm |
Becomes 30 15, so the afternoon hour is 15 in a 24-hour clock. |
on the first day of the month |
Becomes 0 0 1 * *, with the day-of-month field set to 1. |
every monday and friday |
Becomes a list in the last field, such as 0 0 * * 1,5. |
Common mistakes
The job runs at the wrong hour.
Check the 24-hour conversion. Afternoon hours are 13 to 23 in the second field, and a 3:30pm schedule is 30 15 and not 15 30.
The job never runs on the intended day.
When both the day-of-month and the day-of-week fields are restricted, cron fires on either match. Use one of the two and leave the other as a wildcard if you need an AND.
The job fires in a different timezone than expected.
Cron evaluates the schedule in the timezone of the cron daemon, not the timezone of the person who wrote the crontab. On a server this is usually UTC.
A relative phrase is not understood.
Phrases such as the first Monday are ambiguous, because some implementations mean the first Monday of the month and others mean the first seven days. Write it out as a day-of-month and a weekday instead.
Worked examples
An afternoon daily job
every day at 3:30pm
The expression 30 15 * * * with a breakdown showing minute 30 and hour 15.
A frequent job
every 15 minutes
The expression */15 * * * *, which fires at minutes 0, 15, 30 and 45 of every hour.
Frequently asked questions
Which phrases are supported?
Common English forms such as "every N minutes", "every hour", "daily", "at 3:30pm", "every monday at 9am", "on the first day of the month" and "every monday and friday" are understood. Anything more exotic is best written as a raw cron expression.
Why is the result always five fields?
Standard cron has exactly five fields — minute, hour, day of month, month and day of week. Some dialects accept a sixth seconds field, but the portable form that works in crontab, systemd timers and Kubernetes is the five field one.
Can I build a schedule for Kubernetes?
Yes. The Kubernetes CronJob generator accepts the same plain English phrases and writes the result into the schedule field of a complete manifest, which is the quickest way to get a working CronJob.
Does the builder run in my browser?
Yes, the whole conversion happens locally in the page, so the builder works offline and never sends the schedule you typed to a server.
What happens when both the day of month and the day of week are set?
Cron then fires on either one of them, not on both. That rule surprises people, so leave one of the two as a star unless you really want the union of both sets.
How do I express a schedule that runs at 2:30 in the morning?
Write "every day at 2:30am" and the builder produces 30 2 * * *. Midnight is written as "12:00am" and becomes 0 in the minute and hour fields.
Can I create a schedule that runs every 90 minutes?
Not with a simple phrase, because cron steps must divide the hour evenly. Write the raw expression yourself — for example 0,30 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 * * * — or restructure the job to run every 30 minutes.
Is the schedule evaluated in my local timezone?
A cron expression has no timezone of its own. The host running the job decides, so the expression is always evaluated in the server timezone unless the scheduler supports an explicit time zone field.
Why does every result contain a star in the same place?
The star means "every value in this field". A schedule that only restricts the time of day leaves the day of month and the day of week unrestricted, and that is what produces a job that runs every day.
Can I build a schedule that runs twice a day?
Yes, write it as two times in one phrase, for example "every day at 9am and 5pm", and the builder writes both hours into the hour field as a list.
What if the phrase mentions a day that the month does not have?
The builder is happy with it, but the schedule will simply never fire that day in the shorter months. A schedule such as the 31st of every month has that property, and it is worth knowing before you rely on it.