crontab question...

Sergey 'DoubleF' Zaharchenko doublef at tele-kom.ru
Sat Nov 1 04:19:40 PST 2003


On Fri, 31 Oct 2003 13:16:29 -0500 "Xpression" <admin at atenas.cult.cu> probably wrote:

> Hi guys, I was wondering if I have three script files on crontab and all
> they are executed at the same hour how it's function ??? I mean:
> 
> #
> #minute    hour    mday    month    wday    who    command
> #
> 0                0            *        *            *      root
> /path/one/script1
> 0                0            *        *            *      root
> /path/two/script2
> 0                0            *        *            *      root
> /path/three/script3
> 
> they are executed at the same time or in order ??? thankssssssss

Generally, you shouldn't depend on that. If you want the scripts to be
executed in a particular order, write a wrapper script that says
something like

/path/one/script1
/path/two/script2
/path/three/script3

and add it to the crontab.

> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 


-- 
DoubleF
All men are mortal.  Socrates was mortal.  Therefore, all men are
Socrates.
		-- Woody Allen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031101/b96cacd4/attachment.bin


More information about the freebsd-questions mailing list