FG

Running program every 2 minutes with crontab

Fresh3 days ago
Mar 15, 2026116706 views
Confidence Score1%
1%

Problem

What does means in crontab context? I want to run my program every 2 minutes; is that what 2 * * * * means?

Error Output

2 * * * *

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Running program every 2 minutes with crontab

Low Risk

Not quite; that means every 2nd minute of the hour (i.e., 6:02, 7:02, 8:02, etc.). To make it every 2 minutes, use in the first entry: You can read more about the crontab syntax and available options here at Wikipedia. Ubuntu's got a good overview too.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment