How do I write a cron expression?
A cron expression has five fields separated by spaces: minute (0-59), hour (0-23), day of month (1-31), month (1-12) and day of week (0-7, where 0 and 7 both mean Sunday). For example, 0 9 * * 1-5 means 09:00 every Monday to Friday: minute 0, hour 9, any day of month, any month, weekdays 1-5. The sample 30 2 * * 0 means 02:30 every Sunday. Type an expression in the box, or build it with the five dropdowns, and this tool explains every field in plain English and lists the next 5 run times in your local time, so you can check a schedule before putting it in a crontab, a GitHub Actions workflow, or a cloud scheduler.
What do the cron special characters mean?
The asterisk (*) means every value: * in the minute field means every minute. A slash sets a step: */15 in the minute field means every 15 minutes (0, 15, 30, 45). A hyphen sets a range: 1-5 in the day-of-week field means Monday to Friday, and 9-17 in the hour field means 9 AM to 5 PM. A comma lists values: 0,30 in the minute field means at minute 0 and minute 30, and 1,15 in the day-of-month field means the 1st and 15th. These combine freely: 0 9-17 * * 1-5 runs at the top of every hour from 9 AM to 5 PM on weekdays, and */10 9-17 * * 1-5 runs every 10 minutes during those hours.
What are common cron schedules?
Every minute: * * * * *. Every hour: 0 * * * *. Every 15 minutes: */15 * * * *. Daily at midnight: 0 0 * * *. Daily at 2:30 AM (a classic backup slot): 30 2 * * *. Weekdays at 9 AM: 0 9 * * 1-5. Weekly on Monday at midnight: 0 0 * * 1. Monthly on the 1st: 0 0 1 * *. Yearly on January 1: 0 0 1 1 *. The preset buttons in this tool load each of these with one click and show the next 5 runs, which is the fastest way to confirm a schedule does what you think it does, including tricky cases like February 29, which only runs in leap years.
How does cron handle day of month and day of week together?
This is the most common cron trap. When both the day-of-month and day-of-week fields are restricted (neither is *), cron runs when EITHER field matches, not when both match. So 0 0 13 * 5 runs at midnight on the 13th of every month AND on every Friday, not only on Friday the 13th. When only one of the two fields is restricted, that field alone decides. This calculator follows the same rule when computing the next runs, so what you see here is what a standard cron daemon will do. If you need a true AND condition (like Friday the 13th only), run the job on one condition and check the other inside your script.
Where is cron used?
Linux and macOS crontab for backups, log rotation and cleanup; GitHub Actions scheduled workflows; cloud schedulers on AWS, Google Cloud and Azure; WordPress and other CMS task systems; Docker containers and Kubernetes CronJobs; and application frameworks that run periodic jobs like sending digest emails, clearing caches or generating reports. Many of these systems use the same 5-field syntax, sometimes with an optional seconds field or special strings like @daily. Times are interpreted in the server timezone unless the system lets you set one, which is why checking the next runs in your local time here, then converting for your server, prevents the classic 3 AM surprise.
Is it free and private?
Yes. The cron expression generator and explainer is free, with no signup, no account and no limits. Everything runs in your browser: the expression you type is never sent to a server, stored or logged, and it disappears when you clear the field or close the tab. For developers, sysadmins, DevOps engineers and students who need a schedule built, explained or verified with real upcoming run times, this page does the job in seconds.