From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 04:19:40 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C11516A4CE for ; Sat, 1 Nov 2003 04:19:40 -0800 (PST) Received: from mx.tele-kom.ru (mx.tele-kom.ru [213.80.148.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 33FCC43F85 for ; Sat, 1 Nov 2003 04:19:38 -0800 (PST) (envelope-from doublef@tele-kom.ru) Received: (qmail 4871 invoked by uid 555); 1 Nov 2003 15:19:35 +0300 Received: from hal.localdomain (213.80.149.176) by t-k.ru with TeleMail/2 id 1067689174-4865 for admin@atenas.cult.cu; Sat, Nov 1 15:19:34 2003 +0300 (MSK) Date: Sat, 1 Nov 2003 15:14:06 +0300 From: Sergey 'DoubleF' Zaharchenko To: "Xpression" Message-Id: <20031101151406.02af7860.doublef@tele-kom.ru> In-Reply-To: <001501c39fdb$1aca0fd0$0801a8c0@bloodlust> References: <001501c39fdb$1aca0fd0$0801a8c0@bloodlust> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Sat__1_Nov_2003_15_14_06_+0300_BCQNiZr3gMa1z.pl" cc: FreeBSD-questions Subject: Re: crontab question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2003 12:19:40 -0000 --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" 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--