Categories
Cron Expression Generator
Generate a cron expression by specifying minute, hour, day, month, and weekday.
You can specify * (every value), a number, a range (1-5), a list (1,3,5), or a step (*/15).
Overview
Builds a cron expression (the format used to describe a recurring schedule) by specifying minute, hour, day, month, and weekday.
In addition to the generated cron expression, a plain-language description (such as "Every Monday-Friday at 9:00") is displayed, so you can confirm the schedule matches your intent without memorizing the syntax.
Supports cron-specific notation such as ranges (1-5), lists (1,3,5), and steps (*/15).
Usage
- 1
Enter a value into each of the minute, hour, day, month, and weekday fields (supports *, numbers, ranges, lists, and steps).
- 2
Click the "Generate" button.
- 3
The generated cron expression and a plain-language description of its meaning are displayed.
Example
Input
minute: 0, hour: 9, day: *, month: *, weekday: 1-5
Output
0 9 * * 1-5 Every Monday-Friday at 9:00
Use Cases
Building a cron expression for scheduling a CI/CD pipeline or batch job (GitHub Actions, crontab, etc.)
Creating an accurate cron expression from a requirement such as "9am on weekdays" or "midnight on the 1st of every month"
Re-entering an existing cron expression's fields to confirm, via the description, that it means what you intended
FAQ
What happens if I leave a field empty?
An empty field is treated as "*" (every value).
How do I specify a range or a list?
Use "1-5" for a range, "1,3,5" for a list, and "*/15" for a fixed interval.
Is what I enter sent anywhere?
No. Both generating the cron expression and building its description happen entirely in your browser.
Notes
A field left empty is treated as "*" (every value).
How the time is interpreted (its timezone) can differ depending on the execution environment (cron, GitHub Actions, etc.). Check the specification of your actual execution environment too.
The generated result exists only on the page and is lost on reload, so copy and save it if you need to keep it.
Related Tools
Convert a cron expression into a human-readable description.
Convert a date and time to a different timezone.
Convert a date and time to ISO 8601, RFC 2822, a custom format, and more.