Every 2 Minutes
Cron Expression: */2 * * * *
Every 2 minutes using the cron expression shown above. This page helps you understand how to schedule tasks every 2 minutes.
How This Cron Expression Works
The cron expression */2 * * * *
breaks down as follows:
Minute
Hour
Day of Month
Month
Day of Week
*/2
*
*
*
*
Explanation:
- Runs every 2 minutes
- Runs every hour
- Runs every day of every month
Interactive Cron Builder
Use the interactive tool below to modify this cron expression and see how changes affect the schedule:
""
minute
(0-59)
hour
(0-23)
day
(1-31)
month
(1-12)
weekday
(0-6)
* | every value |
---|---|
, | list of values |
- | range of values |
/ | interval values |
@yearly | Once a year (0 0 1 1 *) |
@annually | Same as @yearly |
@monthly | Once a month (0 0 1 * *) |
@weekly | Once a week (0 0 * * 0) |
@daily | Once a day (0 0 * * *) |
@hourly | Once an hour (0 * * * *) |
@reboot | At system startup |
Common Use Cases
This cron expression is commonly used for:
- High-frequency monitoring checks
- Real-time data processing
- Quick response automation
- Session cleanup or management
- Frequent status updates or polling