Quick Presets

Build Expression

Result

* * * * *
Every minute.

Cron Field Reference

FieldRangeWildcardsExample
Minute0–59* , - /*/15 — every 15 min
Hour0–23* , - /0,12 — midnight and noon
Day of Month1–31* , - / LL — last day
Month1–12* , - /1,7 — Jan and Jul
Day of Week0–6 (Sun=0)* , - /1-5 — weekdays

What Is a Cron Job?

A cron job is a scheduled task that runs automatically at set times or intervals on Unix-like systems. The name comes from cron, the time-based job scheduler built into Linux and macOS. You define your schedule in a crontab file — see the Linux crontab man page for the full specification — and the system takes care of running your script or command at exactly the right time.

Cron expressions use 5 fields: minute, hour, day of month, month, and day of week. Special characters like *, /, -, and , let you build flexible schedules without writing a single line of code. crontab.guru is a handy reference for quick lookups. Cron-style scheduling has spread well beyond Linux too — you'll find it in Kubernetes CronJobs and AWS cron expressions, each with their own small variations.

How to Use

1

Set Your Schedule

Use the visual controls to pick the frequency — minute, hour, day, month, and weekday. The builder updates the cron expression in real time as you make changes.

2

Read the Human-Readable Output

Below the expression you'll see a plain-English description of exactly when the job will run. This makes it easy to double-check your schedule before putting it into production.

3

Copy and Use It

Hit the Copy button to grab the cron string and paste it straight into your crontab, CI/CD config, cloud scheduler, or wherever you need it.

Expression Examples

Common cron expressions

Expression:

*/15 * * * *

What it means:

*/15 * * * *   → Every 15 minutes
0 * * * *      → Every hour on the hour
0 9 * * 1-5    → 9 AM on weekdays
0 0 1 * *      → Midnight on the 1st of every month
0 0 * * 0      → Midnight every Sunday

Frequently Asked Questions

What does * mean in a cron expression?

* means "every possible value" for that field. So * * * * * runs every minute of every hour of every day. Put * in the month field and the job runs every month.

How do I run a job every 5 minutes?

Use the step syntax: */5 * * * *. The /5 means "every 5 units", so this fires at 0, 5, 10, 15 … minutes past the hour, every hour, every day.

What's the difference between cron and crontab?

cron is the daemon — the background service that actually runs your scheduled tasks. crontab is the file (and the command to edit it) where you define those tasks. You edit the crontab; cron reads it and does the work.

Is cron available on Windows?

Not natively — Windows uses Task Scheduler instead. That said, if you're running WSL (Windows Subsystem for Linux) you get a full Linux environment including cron. Cloud schedulers like AWS EventBridge and GitHub Actions use cron syntax on any platform.

Related Tools