Cron job every 2 minutes
*/2 * * * * Every 2 minutes
Typical use: polling an API that rate-limits per minute. Try it below — change any field and see the next runs in your timezone.
Every 2 minutes
Valid
- 1Sun, Sep 27, 2026, 3:36 PM
- 2Sun, Sep 27, 2026, 3:38 PM
- 3Sun, Sep 27, 2026, 3:40 PM
- 4Sun, Sep 27, 2026, 3:42 PM
- 5Sun, Sep 27, 2026, 3:44 PM
- 6Sun, Sep 27, 2026, 3:46 PM
- 7Sun, Sep 27, 2026, 3:48 PM
- 8Sun, Sep 27, 2026, 3:50 PM
- 9Sun, Sep 27, 2026, 3:52 PM
- 10Sun, Sep 27, 2026, 3:54 PM
Field by field
| Field | Value | Meaning |
|---|---|---|
| Minute | */2 | every 2 minutes |
| Hour | * | every hour |
| Day of month | * | every day |
| Month | * | every month |
| Day of week | * | every day |
The same schedule on every platform
The five fields mean the same thing everywhere, but each scheduler wraps them differently — and AWS and Quartz number weekdays from 1 (Sunday), not 0.
*/2 * * * * /path/to/script.sh >> /var/log/job.log 2>&1 spec:
schedule: "*/2 * * * *" GitHub ActionsGitHub Actions runs schedules at most every 5 minutes — */2 will be throttled.
on:
schedule:
- cron: '*/2 * * * *' AWS EventBridgeEventBridge weekdays are 1–7 (1 = Sunday) and one day field must be ?.
cron(0/2 * * * ? *)
# or, simpler:
rate(2 minutes) Quartz (Java)Seconds first; weekdays 1–7 with 1 = Sunday.
0 */2 * * * ? Spring @ScheduledSpring adds a seconds field but keeps Unix weekday numbers.
@Scheduled(cron = "0 */2 * * * *") [TimerTrigger("0 */2 * * * *")] Running a job every 2 minutes
What is the cron expression for every 2 minutes?
*/2 * * * *. In plain English: every 2 minutes. It works in standard 5-field cron — Linux crontab, Kubernetes and GitHub Actions.How do I schedule a job every 2 minutes in AWS EventBridge?
Use
cron(0/2 * * * ? *) or the simpler rate(2 minutes). EventBridge needs six fields (a year at the end), a ? in one of the day fields, and numbers weekdays 1–7 starting on Sunday.What timezone does "*/2 * * * *" run in?
Cron uses the server's timezone. Kubernetes CronJobs default to the controller's timezone (set
spec.timeZone on 1.27+), GitHub Actions and AWS EventBridge rules always use UTC. Use the timezone picker above to see the next runs in your own time.