01What is Crontab Generator?
Crontab Generator builds a five-field cron expression for you, so you don't have to remember which slot is the hour and which is the day of week. You pick values from dropdowns, watch the expression update at the top, and check a plain-English summary and the next five run times before you copy it. There is one dropdown per field: Minute, Hour, Day of Month, Month and Day of Week. Each one lists the choices people reach for most, such as every 5, 10, 15 or 30 minutes, every 2, 4, 6 or 12 hours, the 1st and 15th, quarterly months, weekdays and weekends. Under each dropdown is a Custom text box. There you can type anything crontab(5) accepts: lists like 1,15, ranges like 9-17, steps like */10 or 0-30/10, and names like JAN or MON. A Common Presets menu fills in everyday schedules in one click. Every change runs through the same parser our Cron Parser tool uses. It follows the rules of Vixie cron and cronie, which most Linux servers run. The description text comes from the cronstrue library. The run times are worked out in your browser's local time zone. Here is a case where the preview saves you from a real mistake. Say you want a job at 9 AM on Friday the 13th, so you set Hour 9, Day of Month 13 and Day of Week Friday. That gives 0 9 13 * 5. The description adds "runs when either the day of month or the day of week matches". From Sunday 22 November 2026, the next runs are Fri 27 Nov, Fri 4 Dec, Fri 11 Dec, Sun 13 Dec and Fri 18 Dec. That is cron's real behaviour. When both day fields are set, either one is enough. Errors are named instead of passed through. A value out of range, a backwards range like 17-9, an empty field, or a Quartz-only symbol like ?, L, W or # shows a message and no run times. A schedule that is valid but never fires, such as 0 0 31 2 *, simply shows no upcoming runs. Know the limits before you paste. The output is five fields only, with no seconds and no year, so it will not fit Quartz or Spring schedulers. The run times use your local zone, while Kubernetes CronJobs and GitHub Actions default to UTC. The tool also does not write the command part of a crontab line.
Developers and sysadmins who need a correct crontab schedule for a backup, report or CI job and want to see the next runs before they deploy it. The tool runs entirely in your browser, so your data never leaves your device.
02How to use Crontab Generator
- Open Common Presets and pick the closest schedule, or start from the default every-minute expression.
- Set Minute, Hour, Day of Month, Month and Day of Week from their dropdowns.
- For anything the dropdowns don't cover, type into the Custom box under that field, for example 0-30/10 or MON-FRI.
- Read the plain-English description and the Next Scheduled Runs list, shown in your local time zone.
- If an error appears, fix the field it names, then click Copy to take the expression to your crontab or config.
03Worked examples
- Input:
*/15 9-17 * * 1-5 (next runs from Sun 22 Nov 2026, 08:00) - Result:
Every 15 minutes, between 09:00 AM and 05:59 PM, Monday through Friday. Next: Mon 23 Nov 09:00, 09:15, 09:30, 09:45, 10:00 - An hour range covers the whole of its last hour, so 9-17 runs until 17:45, not 17:00.
- Input:
0 9 13 * 5 (from Sun 22 Nov 2026, 08:00) - Result:
At 09:00 AM, on day 13 of the month, and on Friday (runs when either the day of month or the day of week matches). Next: Fri 27 Nov, Fri 4 Dec, Fri 11 Dec, Sun 13 Dec, Fri 18 Dec - When both day fields are restricted, cron runs on either match, not only on Friday the 13th.
- Input:
0 0 1,15 * * (from Sun 22 Nov 2026, 08:00) - Result:
At 12:00 AM, on day 1 and 15 of the month. Next: Tue 1 Dec, Tue 15 Dec 2026, Fri 1 Jan, Fri 15 Jan, Mon 1 Feb 2027 - Input:
0 */6 * * * (from Sun 22 Nov 2026, 08:00) - Result:
At 0 minutes past the hour, every 6 hours. Next: 22 Nov 12:00, 22 Nov 18:00, 23 Nov 00:00, 23 Nov 06:00, 23 Nov 12:00 - */6 counts from midnight (0, 6, 12, 18), not from the time you save the job.
- Input:
0 2 * * SUN (from Sun 22 Nov 2026, 08:00) - Result:
At 02:00 AM, only on Sunday. Next: Sun 29 Nov, Sun 6 Dec, Sun 13 Dec, Sun 20 Dec, Sun 27 Dec - Today's 02:00 has already passed, so the first run is next Sunday.
- Input:
0 0 31 2 * - Result:
At 12:00 AM, on day 31 of the month, only in February. No upcoming runs - The expression is valid but never fires, because February never has a 31st.
04Common use cases
- Building the schedule for a nightly database backup at 02:30, then checking the next five runs land when you expect
- Setting a CI pipeline trigger for weekday business hours with Hour 9-17 and Day of Week Mon-Fri
- Making a quarterly report job with the Quarterly (Jan, Apr, Jul, Oct) month option and day 1
- Spacing health checks or cache warmers every 10 minutes with a custom offset like 3-59/10 so they don't all fire at :00
- Writing the schedule field of a Kubernetes CronJob or GitHub Actions workflow without looking up field order
- Catching a day-of-month plus day-of-week combination that would run far more often than you meant
05Tips
- Stagger jobs off the hour. If twenty jobs all fire at 0 0 * * *, they fight for CPU and disk at midnight. Minute 7 or 23 is just as good.
- Cron mails any output to the crontab owner. Set MAILTO="" at the top of the crontab or redirect output to a log file so mail queues don't fill up.
- */6 in the Hour field counts from midnight (0, 6, 12, 18), not from the moment you install the job.
- Crontab also accepts @reboot to run a command once at startup. It has no schedule, so this tool doesn't build it.
- Kubernetes CronJobs and GitHub Actions run in UTC unless you set a time zone, so shift the hour if your local preview looks right but production is off.
06Related concepts
Crontab, systemd timers, at command, Task scheduler.
Frequently Asked Questions
What is Crontab Generator?
Crontab Generator is a free, browser-based developer tool on AIDToolStack. Visual cron expression builder with presets and next-run preview. It requires no installation or sign-up and works entirely in your browser.
Is Crontab Generator free to use?
Yes. No sign-up, no fees and no usage cap.
Does Crontab Generator store my data?
No. It runs in your browser; nothing is uploaded.