SnapTool Logo
SnapToolSnap. Solve. Done.

Cron Expression Builder

Build, validate, and explain cron expressions instantly. Visual selectors, plain-English descriptions, and next 5 run time previews — all in your browser.

Last Updated: May 2026

Quick Presets

Cron Expression

0 9 * * 1-5

Plain English

At 9:00 AM, on Mon through Fri

Next 5 Run Times

1Thu, Jun 18, 09:00 AM
2Fri, Jun 19, 09:00 AM
3Mon, Jun 22, 09:00 AM
4Tue, Jun 23, 09:00 AM
5Wed, Jun 24, 09:00 AM

Understanding Cron Expression Fields

PositionFieldAllowed ValuesSpecial Chars
1stMinute0 – 59* , - /
2ndHour0 – 23* , - /
3rdDay of Month1 – 31* , - / L
4thMonth1 – 12* , - /
5thDay of Week0 – 6 (0=Sun)* , - /

Common Cron Expression Patterns

ExpressionMeaning
* * * * *Every minute
0 * * * *Every hour, on the hour
0 0 * * *Every day at midnight
0 9 * * 1-5Weekdays at 9:00 AM
0 0 1 * *First day of every month at midnight
0 0 * * 0Every Sunday at midnight
*/15 * * * *Every 15 minutes
0 8,12,17 * * *At 8 AM, noon, and 5 PM daily

How to Use the Cron Expression Builder

  1. 1

    Choose a Preset or Start from Scratch

    Click one of the preset buttons for common schedules like 'Every hour' or 'Weekdays only', or type directly into the five cron fields.

  2. 2

    Use Quick Selectors

    Below each field, click the quick-select buttons to set values without memorizing syntax. For example, click '*/5' under Minute for every-5-minute scheduling.

  3. 3

    Read the Plain-English Explanation

    The tool instantly translates your expression into plain English so you can confirm it does what you expect before deploying.

  4. 4

    Preview Next 5 Runs

    See the exact upcoming dates and times when your job will next fire, so you can spot and fix scheduling mistakes before going live.

  5. 5

    Copy and Deploy

    Click Copy to copy the expression to your clipboard and paste it directly into your crontab, GitHub Actions schedule, AWS EventBridge, or any other scheduler.

Where Are Cron Jobs Used?

Cron jobs are used anywhere you need to run code on a schedule without manual intervention. Common use cases include database backups, report generation, sending scheduled emails, cache invalidation, log rotation, health checks, social media posting, API data syncing, and nightly data processing. Modern cloud services like AWS EventBridge, Google Cloud Scheduler, GitHub Actions (via the schedule trigger), and Kubernetes CronJobs all use the same five-field cron syntax, making this builder immediately applicable across nearly every cloud platform.

Frequently Asked Questions

What is a cron expression?

A cron expression is a string with five space-separated fields that define a schedule for automated tasks on Unix-based systems. The 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'.

What does the asterisk (*) mean in a cron expression?

An asterisk (*) in any cron field means 'every valid value for that field'. For example, * in the minute field means every minute (0–59), * in the hour field means every hour (0–23), and so on. It's the wildcard that makes cron expressions flexible for recurring schedules.

How do I run a cron job every 5 minutes?

Use the step syntax: */5 * * * *. The */ prefix means 'every N units'. So */5 in the minute field means every 5 minutes. Similarly, */15 means every 15 minutes, */2 in the hour field means every 2 hours, and so on.

What is the difference between Day of Month and Day of Week?

Day of Month (field 3) sets which calendar date the job runs — for example, 1 means the first of each month. Day of Week (field 5) sets which weekday it runs — for example, 1 means every Monday. If both are set to specific values (not *), most cron implementations run the job when either condition is met (logical OR).

How do I schedule a cron job to run only on weekdays?

Set the Day of Week field to 1-5, which covers Monday through Friday (1=Monday, 5=Friday). For example, to run at 9 AM every weekday: 0 9 * * 1-5. Sunday is 0 and Saturday is 6. You can also use comma-separated values like 1,2,3,4,5 for the same effect.

Share Feedback or Report an Issue

Help us improve this tool. Report bugs, suggest features, or request data updates!