Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2003 15:14:06 +0300
From:      Sergey 'DoubleF' Zaharchenko <doublef@tele-kom.ru>
To:        "Xpression" <admin@atenas.cult.cu>
Cc:        FreeBSD-questions <questions@FreeBSD.ORG>
Subject:   Re: crontab question...
Message-ID:  <20031101151406.02af7860.doublef@tele-kom.ru>
In-Reply-To: <001501c39fdb$1aca0fd0$0801a8c0@bloodlust>
References:  <001501c39fdb$1aca0fd0$0801a8c0@bloodlust>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Sat__1_Nov_2003_15_14_06_+0300_BCQNiZr3gMa1z.pl
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Fri, 31 Oct 2003 13:16:29 -0500 "Xpression" <admin@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 


-- 
DoubleF
All men are mortal.  Socrates was mortal.  Therefore, all men are
Socrates.
		-- Woody Allen

--Signature=_Sat__1_Nov_2003_15_14_06_+0300_BCQNiZr3gMa1z.pl
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/o6Odwo7hT/9lVdwRAjSkAJ94aqwWVIVlzO993/nVSU0Dv13IuwCfWjqx
d2u6QqS9zrw1rjfz5oubbLM=
=2uI3
-----END PGP SIGNATURE-----

--Signature=_Sat__1_Nov_2003_15_14_06_+0300_BCQNiZr3gMa1z.pl--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031101151406.02af7860.doublef>