Cron Expression Generator

Build cron expressions visually and see the next run times in plain English. Choose from common presets — every minute, hourly, daily, weekly — or build a custom schedule for any automation task. (Free: 10 uses/day)

0 * * * *

At minute 0 of every hour

0-59
0-23
1-31
1-12
0-6 (Sun-Sat)

Next 5 Runs

#12026/3/24 上午8:00:54
#22026/3/24 上午9:00:54
#32026/3/24 上午10:00:54
#42026/3/24 上午11:00:54
#52026/3/24 下午12:00:54

Usage Examples

crontab: 0 * * * * /path/to/command
GitHub Actions: cron: '0 * * * *'
node-cron: cron.schedule('0 * * * *', callback)

Frequently Asked Questions

What is a cron expression?

A cron expression is a string of 5 fields (minute, hour, day-of-month, month, day-of-week) that defines a recurring schedule. For example, '0 9 * * 1' means every Monday at 9:00 AM. Cron is used in Linux, CI/CD pipelines, cloud functions, and task schedulers.

How do I write a cron expression for every 5 minutes?

Use '*/5 * * * *'. The */5 in the minute field means 'every 5th minute'. Similarly, */10 means every 10 minutes, and */30 means every 30 minutes.

What is the difference between cron and crontab?

Cron is the scheduling daemon (background service) that runs scheduled tasks. Crontab is the configuration file where you define your cron expressions and the commands to run. You edit it with 'crontab -e' on Linux/macOS.

Does cron support seconds?

Standard Unix cron uses 5 fields and does not support seconds. Some systems like Spring Scheduler and Quartz use 6 or 7 fields that include seconds. This generator uses the standard 5-field format compatible with most platforms.

Share this tool: X / Twitter LinkedIn

Related Products

on Gumroad

More Free Tools

Get weekly developer tips

Tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →