Cron Expression: Every 2 minutes
Cron Expression
*/2 * * * *Every 2 minutes
Click the expression to select it, then copy.
Quick Answer
The cron expression for "every 2 minutes" is `*/2 * * * *`. Copy and paste this into your crontab, Vercel cron config, GitHub Actions workflow, or any standard cron-compatible scheduler.
Field-by-Field Breakdown
| Field | Value | Meaning |
|---|---|---|
| Minute | */2 | Every 2 minute |
| Hour | * | Every hour |
| Day of Month | * | Every day of month |
| Month | * | Every month |
| Day of Week | * | Every day of week |
Common Use Cases
- →High-frequency polling
- →Queue processing
- →Near-realtime updates
How to Use This Expression
Vercel Cron Jobs
// vercel.json
{
"crons": [{
"path": "/api/your-endpoint",
"schedule": "*/2 * * * *"
}]
}GitHub Actions
# .github/workflows/scheduled.yml
on:
schedule:
- cron: '*/2 * * * *'Linux crontab
*/2 * * * * /path/to/your-command.sh