How to build or check a cron expression
- Paste a cron expression into the box, or pick options under Build a schedule.
- Read the plain-English meaning and check the next run times.
- Add your command if you like, then click Copy Crontab Line and paste it into
crontab -e.
Cron syntax cheat sheet
A cron expression has five fields separated by spaces:
┌───────── minute (0–59)
│ ┌─────── hour (0–23)
│ │ ┌───── day of month (1–31)
│ │ │ ┌─── month (1–12 or JAN–DEC)
│ │ │ │ ┌─ day of week (0–7 or SUN–SAT, 0 and 7 are Sunday)
* * * * * command to run
| Symbol | Meaning | Example |
|---|---|---|
* | Every value | * * * * * runs every minute |
, | A list of values | 0 8,12,18 * * * runs at 8:00, 12:00 and 18:00 |
- | A range | 0 9 * * 1-5 runs at 9:00, Monday to Friday |
/ | A step | */10 * * * * runs every 10 minutes |
Common cron examples
| Expression | Runs |
|---|---|
*/5 * * * * | Every 5 minutes |
0 * * * * | Every hour, on the hour |
0 0 * * * | Every day at midnight |
30 2 * * 0 | Every Sunday at 2:30 |
0 0 1 * * | On the first day of every month at midnight |
0 6 1 1 * | On January 1 at 6:00 |
@reboot | Once, when the system starts |
Things that catch people out
- Day of month and day of week together. If both are set, the job runs when either matches.
0 0 13 * 5runs on the 13th and on every Friday, not only on Friday the 13th. - Time zone. Cron uses the server's time zone, which is often UTC. Tick Show in UTC to compare.
- Steps do not carry over.
*/45in the minute field runs at minute 0 and 45 of every hour, not every 45 minutes. - Environment. Cron runs with a minimal PATH, so use full paths to commands and scripts.
This tool reads the standard five-field format used by Linux crontab, Kubernetes CronJobs and GitHub Actions, plus shortcuts such as @daily. Six-field formats with seconds (Quartz, Spring) are not supported.
Private by design
This tool runs entirely in your web browser. Nothing you type or paste is sent to a server, logged or stored, so it is safe to use with internal addresses, configuration files and other work data. There is no sign-up and it keeps working offline once the page has loaded.
Frequently asked questions
What does */5 * * * * mean?
Run every 5 minutes: at minute 0, 5, 10 and so on of every hour, every day.
How do I run a cron job every day at midnight?
Use 0 0 * * *, or the shortcut @daily.
How do I run a job on weekdays only?
Put 1-5 in the last field. For example 0 9 * * 1-5 runs at 9:00 from Monday to Friday.
Which time zone does cron use?
The time zone of the server it runs on. Many servers and most cloud schedulers use UTC.
Does this work for Kubernetes CronJobs and GitHub Actions?
Yes. Both use the same five-field format. GitHub Actions schedules always run in UTC.