Cron every minute: the expression
* * * * *
Five asterisks mean "every value" in all five fields, so the job runs at the start of every minute of every hour of every day. One minute is the finest resolution of standard cron: there is no way to run something every 10 seconds with a cron expression alone.
This page opens the crontab generator with the expression loaded: it describes it in plain words, checks every field and lists the next runs in the time zone you choose. Read by the tool: "Every minute".
Field by field
| Field | Allowed values | Here |
|---|---|---|
| minute | 0-59 | * |
| hour | 0-23 | * |
| day of month | 1-31 | * |
| month | 1-12 | * |
| day of week | 0-7 (0 and 7 = Sunday) | * |
Every field is *, so nothing restricts the minute, the hour, the day, the month or the weekday.
The next runs
Counted from Mon, Jan 5, 2026, 08:07:00 (UTC), the first five runs are:
- Mon, Jan 5, 2026, 08:08:00
- Mon, Jan 5, 2026, 08:09:00
- Mon, Jan 5, 2026, 08:10:00
- Mon, Jan 5, 2026, 08:11:00
- Mon, Jan 5, 2026, 08:12:00
In a crontab
crontab -e
* * * * * /usr/local/bin/check-queue.sh >> /var/log/check-queue.log 2>&1
crontab -l # lists what is installedThe same schedule in other systems
| System | Expression |
|---|---|
| Linux cron, Kubernetes CronJob, GitHub Actions (5 fields) | * * * * * |
| Quartz and Spring (6 fields, with seconds) | 0 * * * * ? |
| AWS EventBridge (6 fields, with year) | cron(* * * * ? *) |
The tool reads the three forms and produces exactly the same runs for them; the page checks that while it is built. GitHub Actions cannot run this: its shortest schedule is every 5 minutes, and scheduled runs may be delayed when the platform is busy. Kubernetes CronJobs accept it, one Job per minute.
What it is used for
- Polling a queue or a folder for new work when events are not available.
- A heartbeat that pings a monitoring service so that it can alert when the pings stop.
- Tests and demos, where you want to see the job run without waiting.
Common mistakes
- Jobs that take longer than a minute overlap: two copies run at once and fight over the same files or rows. Wrap the command with flock -n /tmp/job.lock so that a new run is skipped while the old one is still going.
- Letting the output pile up: cron mails or discards whatever the command prints. Redirect to a log with rotation, or to /dev/null once it works.
How to use the generator
- The expression is already in the box; edit any field, or toggle values in the field editor.
- Choose the style (Linux, with seconds, Quartz or AWS) and the time zone, and see the next 5, 10 or 20 runs.
- Copy the expression into your crontab, your workflow file or your EventBridge rule.
Frequently asked questions
How do I run a cron job every minute?
Add * * * * * and the command to your crontab (crontab -e). The line above is a complete example, with the output sent to a log.
Can cron run something every 30 seconds?
Not with five fields. The usual trick is two lines, the second one with sleep 30 before the command; for anything tighter use a systemd timer or a long-running process.
Why did my every-minute job stop running?
Usual causes: a syntax error in the crontab (check with crontab -l), a missing newline at the end of the file, a PATH that lacks your command, or the cron service itself being stopped.