What does "every two minutes" mean in cron?

Posted by Ambrose on Server Fault See other posts from Server Fault or by Ambrose
Published on 2008-11-17T23:37:08Z Indexed on 2010/04/12 17:13 UTC
Read the original article Hit count: 253

Filed under:

I've got two scripts in cron set to run every two minutes: */2 -- the thing is, they're out of step. One runs at 1,3,5,7,9 minutes, etc. and the other at 0,2,4,6,8. This is not a mission-critical problem, but means I've got two status reports, one a bit stale compared to the other.

What does cron do exactly? Run the first one in crontab document order, waiting till it's finished to run the second one?

Is there any way I can make the run at the same time, or as close as possible?

© Server Fault or respective owner

Related posts about cron