Cron Expression: Every 2 minutes between 10 AM and 4 PM on weekdays
Cron Expression
*/2 10-16 * * 1-5Every 2 minutes between 10 AM and 4 PM on weekdays
Click the expression to select it, then copy.
Quick Answer
The cron expression for "every 2 minutes between 10 am and 4 pm on weekdays" is `*/2 10-16 * * 1-5`. 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 | 10-16 | Between hour range: 10-16 |
| Day of Month | * | Every day of month |
| Month | * | Every month |
| Day of Week | 1-5 | Between day of week range: 1-5 |
Common Use Cases
- →Peak hours high-frequency monitoring
- →Trading hours polling
How to Use This Expression
Vercel Cron Jobs
// vercel.json
{
"crons": [{
"path": "/api/your-endpoint",
"schedule": "*/2 10-16 * * 1-5"
}]
}GitHub Actions
# .github/workflows/scheduled.yml
on:
schedule:
- cron: '*/2 10-16 * * 1-5'Linux crontab
*/2 10-16 * * 1-5 /path/to/your-command.sh