From owner-freebsd-questions Mon Jul 1 16:29:35 2002 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 D6A0737B400 for ; Mon, 1 Jul 2002 16:29:32 -0700 (PDT) Received: from oblivion.disturbed.org (ip68-2-37-125.ph.ph.cox.net [68.2.37.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AD6543E09 for ; Mon, 1 Jul 2002 16:29:32 -0700 (PDT) (envelope-from mikeb@disturbed.org) Received: by oblivion.disturbed.org (Postfix, from userid 1000) id 7A6E1473DA; Mon, 1 Jul 2002 15:08:08 -0700 (MST) Date: Mon, 1 Jul 2002 15:08:08 -0700 From: Mike Benjamin To: ro0t Cc: freebsd-questions@freebsd.org Subject: Re: How does /etc/daily.local run. Message-ID: <20020701220808.GD691@disturbed.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG /etc/periodic/daily/999.local executes the /etc/daily.local as a shell script. Which means.. unless you're explicitly backgrounding processes or something, the one at a time effect you desire is occurring. --mikeb On Mon, Jul 01, 2002 at 07:16:29PM -0400, ro0t wrote: : I have a few nightly commands i need to run every night, i write a lot of my : own scripts that run and check permissions, and i also have a second freebsd : box that serves nothing more then a backup server that my main server : mirrors to via cvsup. I learned to do this via the new book FreeBSD : unleashed page 537, if you are interested. Using cvsup to mirror my server : saves me many many hours each week of backing up to CDR. My question is : this. In /etc/daily.local there are several commands, does my mighty bsd box : run them all at the same time, or does it wait until each is finished and : start the next job? I need to know because if it does run them all at once : it would most likely cause system instability, as well as lag the jobs, and : cause some things not to run correctly due to the permission scripts running : at that time. Im pretty sure it runs them one at a time but ill ask you guys : to make certain. ;) thanks for any answers i recieve. : : The unixhideout network. : http://www.unixhideout.com : : : To Unsubscribe: send mail to majordomo@FreeBSD.org : with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message