The Dewx Cron Expression Generator is a free online tool that helps you build cron schedules visually. Use dropdowns and toggles to configure each field (minute, hour, day of month, month, day of week) with support for wildcards, steps, ranges, and lists. See a human-readable description of your schedule, preview the next 5 execution times, and use common presets for quick setup. No login or signup required.
Cron Expression Generator
Build cron schedules visually or edit directly. Preview next executions instantly.
FAQ
What is a cron expression?
A cron expression is a string of five fields separated by spaces that defines a schedule for automated tasks (cron jobs). The five fields represent minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-6, where 0 is Sunday). For example, "0 9 * * 1-5" means "at 9:00 AM, Monday through Friday." Cron expressions are used on Unix/Linux servers, CI/CD pipelines, Kubernetes, cloud schedulers, and many other platforms.
How do I write a cron expression for "every 5 minutes"?
To run a task every 5 minutes, use the expression "*/5 * * * *". The "*/5" in the minute field means "every 5th minute." The remaining asterisks mean "every hour, every day of the month, every month, every day of the week." You can also use the "Every 5 Minutes" preset button in the generator above to set this instantly.
What do the special characters *, /, -, and comma mean in cron?
In cron syntax, * (asterisk) means "every possible value" for that field. / (slash) defines step values, so */5 in the minute field means every 5 minutes. - (hyphen) defines a range, so 1-5 in the day-of-week field means Monday through Friday. , (comma) creates a list of specific values, so 1,15 in the day-of-month field means the 1st and 15th of the month. You can combine these: "0 9 1,15 * 1-5" means at 9 AM on the 1st and 15th, but only if those days are weekdays.
What is the difference between a 5-field and 6-field cron expression?
The standard Unix/Linux cron uses five fields: minute, hour, day of month, month, and day of week. Some systems (like Spring, Quartz, and AWS CloudWatch) use a sixth field for seconds at the beginning, and sometimes a seventh field for year. This generator creates standard 5-field expressions compatible with crontab, Kubernetes CronJobs, GitHub Actions, and most scheduling systems.
How can I test if my cron expression is correct?
Use the "Next 5 Executions" preview in this generator to verify your schedule. It calculates the next five dates and times your cron job would run, so you can confirm it matches your expectations. You can also type or paste any cron expression into the "Edit Directly" field to see its human-readable description and upcoming execution times. If the expression has a syntax error, you will see an error message explaining the problem.
Automate Your Entire Business
Automate with Dew
Let Dew handle scheduling, follow-ups, and workflow automation without writing cron expressions.
Learn moreAutomate More Than Just Cron Jobs
Unified inbox, CRM, outreach automation, AI replies, and analytics, all in one business operating system. Let Dew handle the scheduling for you.