The cron expression to run a job every 2 minutes is */2 * * * *. See the next run times in your timezone.
*/2minute*hour*day*month*weekdayIn Plain English
What your cron expression actually means.
Every 2 minutes, every hour, every day
Upcoming Executions
Preview the next 50 times this schedule will trigger.
About */2 * * * *
*/2 * * * * runs a job every 2 minutes, on the minute. Because 2 divides 60 evenly, the spacing stays consistent across every hour boundary.
Cron reads the five fields as minute hour day month weekday. For this schedule that breaks down as:
| Field | Position | Matches |
|---|---|---|
*/2 | minute | 0, 2, 4, 6, 8, 10, … 58 (30 values) |
* | hour | every hour |
* | day of month | every day |
* | month | every month |
* | day of week | every day of the week |
New to cron? Read the syntax reference or the FAQ.
Use it in crontab or GitHub Actions
Both snippets are ready to paste. A crontab runs in the server's local timezone; GitHub Actions always evaluates schedules in UTC. For Kubernetes, AWS EventBridge, or Vercel, use the export menu in the calculator above.
crontab
# Every 2 minutes, every hour, every day */2 * * * * /path/to/command
GitHub Actions workflow
# Every 2 minutes, every hour, every day
# Note: GitHub Actions always runs schedules in UTC.
on:
schedule:
- cron: '*/2 * * * *'