What a cron expression is
Cron is the standard way to schedule repeating jobs on Linux and in many tools, such as CI systems, Kubernetes CronJobs and cloud schedulers. A schedule is written as five fields separated by spaces. Reading one is hard until you practise, so this tool explains it in plain English and shows when the job will next run.
The five fields
Each field uses the same few symbols:
- * means every value.
- A comma lists values: 1,15,30.
- A dash is a range: 9-17.
- A slash is a step: */15 means every 15.
* * * * *
| | | | |
| | | | +-- day of week (0-7, Sunday is 0 or 7, or SUN-SAT)
| | | +----- month (1-12, or JAN-DEC)
| | +-------- day of month (1-31)
| +----------- hour (0-23)
+-------------- minute (0-59)How to use the tool
- Type a full expression, or edit the five fields one by one.
- Use a preset such as Daily at 09:30 or Weekdays at 08:00 as a starting point.
- Read the plain-English description and check the list of the next 8 run times.
- Copy the expression into your crontab or scheduler.
Examples
Common schedules:
*/5 * * * * every 5 minutes
0 * * * * at minute 0 of every hour
30 9 * * * every day at 09:30
0 8 * * 1-5 weekdays at 08:00
0 3 * * 0 Sundays at 03:00
0 0 1 * * first day of every month at midnightThings that trip people up
- Cron uses the time zone of the server or scheduler, not yours. The preview here shows your local time, so confirm the zone in production.
- If you set both day of month and day of week, the job runs when either matches, as in classic cron.
- Some systems add a seconds field or a year field, or support extra symbols. This tool covers the standard five fields.
- A job that runs every minute can overlap with itself if it takes longer than a minute. Add a lock or a longer interval.
Related tools
- Unix Timestamp Converter: Convert Unix epoch seconds or milliseconds to a readable date and back, with live current epoch time.
- Date / Time Difference Calculator: Find days between dates, countdown to events, and add or subtract days in seconds.
- Time Zone Converter: Compare world clocks, scrub through hours, and spot overlap for calls — private, instant, in your browser.
- Regex Tester & Generator: Test, validate, and debug regular expressions in real-time with our 100% client-side tool.
