We help IT Professionals succeed at work.

crontab: every odd minute

hankknight
hankknight asked
on
1,103 Views
Last Modified: 2012-05-11
I use the crontab code below to do something every even minute.  How can I do something every odd minute?  

I want to do something every two minutes, starting with one minute after the hour.
*/2 * * * * do_something

Open in new window

Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.