Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I wanted to run a cron every 10 minutes. What's the difference between the syntax 0,10 and */10?

share|improve this question

migrated from stackoverflow.com Oct 16 '12 at 7:47

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 4 down vote accepted

0,10 will run the command on the 0 and 10th minute - so at 12:00, 12:10, 1:00, 1:10, etc. */10 will run the command every 10 minutes - 12:00, 12:10, 12:20, 12:30, etc.

share|improve this answer
    
I see... my bad –  user784637 Oct 16 '12 at 2:44
    
No worries - some more info can be found here adminschoice.com/crontab-quick-reference –  doublesharp Oct 16 '12 at 2:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.