Cron Expression Generator
Build, validate, and translate cron expressions visually.
Client-side only — nothing leaves your browser
Every 5 minutes
What is a Cron Expression?
A cron expression is a string of five fields that defines a schedule for running automated tasks on Unix-like systems. Each field specifies a time unit (minute, hour, day of month, month, and day of week), and together they tell the cron daemon exactly when to execute a command. Cron is the standard task scheduler on Linux and macOS servers, and cron expressions are also used by many cloud platforms, CI/CD tools, and container orchestration systems like Kubernetes.
Cron Expression Format
A standard cron expression has five space-separated fields:
* * * * *minute hour dom month dow| Field | Values | Special Characters |
|---|---|---|
| Minute | 0-59 | * , - / |
| Hour | 0-23 | * , - / |
| Day of Month | 1-31 | * , - / |
| Month | 1-12 | * , - / |
| Day of Week | 0-7 (0 and 7 = Sun) | * , - / |
Common Cron Expression Examples
| Expression | Description |
|---|---|
| * * * * * | Every minute |
| */5 * * * * | Every 5 minutes |
| 0 * * * * | Every hour (at minute 0) |
| 0 0 * * * | Every day at midnight |
| 0 3 * * * | Every day at 3:00 AM |
| 0 9-17 * * 1-5 | Every hour from 9 AM to 5 PM on weekdays |
| 0 0 * * 0 | Every Sunday at midnight |
| 0 0 1 * * | First day of every month at midnight |
| 0 0 1 1 * | Once a year on January 1st |
| */15 * * * * | Every 15 minutes |
| 0 */6 * * * | Every 6 hours |
| 30 4 1,15 * * | At 4:30 AM on the 1st and 15th of every month |
Cron Special Characters
| Character | Meaning | Example |
|---|---|---|
| * | Any value (wildcard) | * in minute = every minute |
| , | List of values | 1,15 in day = 1st and 15th |
| - | Range of values | 1-5 in DOW = Mon through Fri |
| / | Step / interval | */5 in minute = every 5 minutes |
Frequently Asked Questions
What does */5 mean in a cron expression?
What is the difference between cron and crontab?
Is a cron expression 5 or 6 fields?
Are cron expressions in UTC?
What happens if a cron job takes longer than the interval?
Related Tools
Cron to systemd Timer
Convert cron expressions to systemd .service and .timer files with OnCalendar syntax.
Unit File Generator
Generate systemd .service, .timer, and .socket unit files visually. Set ExecStart, User, Restart, env vars, and Install target.
Unit File Validator
Validate systemd unit files. Paste a .service, .timer, .socket, or .mount file and catch missing directives, bad syntax, and errors.
htpasswd Generator
Generate htpasswd entries for Apache, Nginx, and Traefik basic auth. bcrypt, apr1, MD5, and SHA-1.
PM2 Ecosystem Generator
Visual builder for ecosystem.config.js. Configure cluster mode, env vars, watch, and max_memory_restart.
Need to manage SSH connections?
SSH Workbench lets you connect, browse files, and manage servers visually.
Try SSH Workbench Free