Cron every 2 minutes
*/2 * * * *Every 2 minutes, every hour, every day.
Next runs · UTC
- —
- —
- —
- —
- —
Calendar
September 2026 · UTC
0 runs
About this tool
*/2 * * * *. The minute field uses the step operator to fire at every even minute (0, 2, 4, …, 58). It's a common cadence for tight polling, queue-drain loops and short-window monitors.The cron expression for every 2 minutes
*/2 * * * *
The minute step */2 resolves to 0, 2, 4, 6, …, 58 - every even minute. The job fires 30 times per hour, 720 times per day. For a slightly less aggressive cadence, see every 5 minutes.
See the dedicated guide for the full breakdown: Cron every minute.
Paste it into the editor above to see the next runs on a calendar.
When to run a job every 2 minutes
- Polling an API or a queue every 2 minutes when no webhook is available.
- Health checks and uptime probes that should notice an outage within one interval.
- Cache, dashboard, or search-index refreshes where slightly stale data is acceptable.
Run this cron anywhere
*/2 * * * * is five-field cron syntax. It works as is in:
- Linux
crontab-*/2 * * * * /path/to/script.sh - Vercel cron jobs - declare in
vercel.json. - node-cron, robfig/cron and Kubernetes CronJob.
AWS EventBridge and Quartz use six-field expressions with a ? in one of the day fields, so convert first:
- AWS EventBridge -
cron(minute hour day-of-month month ? year); see the AWS guide. - Quartz Scheduler - prepend a seconds field (
0) and replace one day field with?; see the Quartz guide.
Useful variations
*/2 9-17 * * 1-5- every 2 minutes during business hours on weekdays1-59/2 * * * *- every 2 minutes offset by 1 (xx:01, xx:03, …)*/2 * * * 1-5- every 2 minutes on weekdays only
Gotchas when running every 2 minutes
- Clock-aligned, not interval-based -
*/2 * * * *fires when the minute matches, counting from minute 0 of each hour. It is not "2 minutes after the previous run", and a run missed while the host was down is not replayed. - Overlapping runs - A run that takes longer than 2 minutes overlaps the next one. Wrap the command in
flock -nor setconcurrencyPolicy: Forbidon Kubernetes; Vercel and EventBridge may overlap runs if the previous one is still executing, so make the handler idempotent.
Examples
- 0 18 * * *Every day at 18:00
- 0 */5 * * *Every 5 hours
- 0 18 * * 1-5Weekdays at 18:00
- 0 0 1 * *Once a month, on the 1st at midnight
Cheatsheet
Full cheatsheet| Field | Req. | Range | Wildcards |
|---|---|---|---|
| minute | yes | 0-59 | , - * / |
| hour | yes | 0-23 | , - * / |
| day of month | yes | 1-31 | , - * / |
| month | yes | 1-12 or JAN-DEC | , - * / |
| day of week | yes | 0-6 or names; some dialects use 0-7 or 1-7 — see Dialects | , - * / |
Frequently asked questions
Timing
Which minutes does */2 select?
*/2 selects every even minute from :00 through :58. It is aligned to the clock, so deploying at :01 does not shift the schedule to odd minutes. Expression: */2 * * * *
How do I run every 2 minutes on odd minutes?
Use 1-59/2 * * * *. It fires at :01, :03, :05, and every odd minute through :59. Expression: 1-59/2 * * * *
How do I run every 2 minutes only during weekday business hours?
Use */2 9-17 * * 1-5. The inclusive hour range includes 17:00 through 17:58, so use 9-16 if execution must stop before 17:00. Expression: */2 9-17 * * 1-5
Should I use sleep to stagger a two-minute cron?
No. sleep occupies a worker and can drift under delays; select a stable phase such as 1-59/2 * * * * for odd-minute starts. Expression: 1-59/2 * * * *
Days and months
How do I run every 2 minutes all day on weekdays only?
Use */2 * * * 1-5. It keeps the two-minute cadence throughout Monday through Friday and does not run on weekends. Expression: */2 * * * 1-5
Timezones and DST
What happens to a two-minute cron schedule during DST?
It is platform-specific. Vixie/cronie can skip or double local two-minute matches; GitHub advances a nonexistent local time; EventBridge Scheduler skips spring and runs once in the fall overlap. UTC-only Vercel and Cloudflare schedules are unaffected.
Timezone and DST referencePlatforms
Can GitHub Actions run every 2 minutes?
No. GitHub Actions has a five-minute minimum for scheduled workflows; choose */5 * * * * or use another scheduler. EventBridge's one-minute floor does allow a two-minute schedule. Expression: */5 * * * *
What is the AWS EventBridge expression for every 2 minutes?
Use cron(0/2 * * * ? *). EventBridge uses six fields including year, requires ? in one day field, and has a one-minute minimum. Expression: 0/2 * * * ? *
What is the Quartz expression for every 2 minutes?
Use 0 0/2 * * * ?. The leading field pins seconds to zero, and 0/2 selects even minutes. Expression: 0 0/2 * * * ?
Debugging
Should I poll every 2 minutes when the provider offers webhooks?
Usually no. Prefer the webhook for prompt delivery and use the two-minute poll only as reconciliation; this cuts 720 baseline requests per day while still repairing missed events.
Crontap
What should I consider before polling every 2 minutes?
Budget for at least 720 calls per day before retries. Reserve rate-limit headroom, cap retry attempts, and ensure each run finishes within two minutes; Crontap can run the HTTP schedule with retries.
Schedule API callsGeneral
What is the cron expression for every 2 minutes?
*/2 * * * *. Paste this into Linux crontab, Vercel cron, node-cron, robfig/cron, or a Kubernetes CronJob to run a job every 2 minutes; AWS EventBridge and Quartz need the six-field form.
How can I verify this cron actually runs every 2 minutes?
The editor above shows the next 30+ runs on a calendar in your local timezone, plus a plain-English description. If the calendar matches your intent, the cron is correct.
Does */2 * * * * work on every platform?
Linux crontab, Vercel cron jobs, node-cron, robfig/cron, and Kubernetes CronJob accept the five-field form as is. AWS EventBridge and Quartz use six-field expressions with a ? in one of the day fields; see the AWS and Quartz guides for the conversion. Vercel's free Hobby plan caps the minimum frequency at once-per-day; the Pro plan removes that cap.
What happens if the previous run is still going when the next one fires?
Most schedulers will start the new run anyway, leading to overlap. To prevent this, wrap the command with flock -n /tmp/myjob.lock /path/to/script.sh on Linux, or set concurrencyPolicy: Forbid on Kubernetes CronJob. Vercel and EventBridge may overlap runs if the previous one is still executing; make the handler idempotent.
Write the cron here. Run it on Crontap.
Point Crontap at any URL. Pick any cron. Done.
WordPress, Shopify, Railway, Cloud Run, Vercel, HubSpot, Ghost, your own box. If it answers HTTP, Crontap can drive it on a clock you can read, in the timezone that actually matters, and page you when something breaks.
1.9k+ teams · Free forever tier · No credit card