Cron job Every 2 minutes
*/2 * * * *
minute
hour
day (month)
month
day (week)
Every 2 minutes
Field breakdown
| Field | Value | Meaning |
|---|---|---|
| minute | */2 | every 2 minutes |
| hour | * | any value |
| day (month) | * | any value |
| month | * | any value |
| day (week) | * | any value |
Crontab line
*/2 * * * * /path/to/script.shThe expression */2 * * * * schedules a cron job to run every 2 minutes. This schedule belongs to the "Minute" category and is commonly used for high-frequency monitoring, health checks, or data synchronization tasks that need to run multiple times per hour.