crontab same time execution order

Chuck Swiger cswiger at mac.com
Thu Jul 3 17:46:57 PDT 2003


Dave McCammon wrote:
> If two entries in the crontab are for the same time,
> which entry gets ran first?

It's not deterministic, or if it happens to be so under FreeBSD, it's not on 
other platforms and you should not rely on a particular order.

If you've got commands which depend on each other in cron, do something like:

	command1 ; command2 ; command3

...or...

	command1 && command2 && command3

-- 
-Chuck




More information about the freebsd-questions mailing list