From owner-freebsd-questions Tue Jul 27 13:28:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 3C5FE1539A for ; Tue, 27 Jul 1999 13:28:05 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from lithium.scientia.demon.co.uk ([192.168.1.2] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.02 #1) id 119BSX-0000IB-00; Tue, 27 Jul 1999 18:56:14 +0100 (envelope-from ben@lithium.scientia.demon.co.uk) Received: from lithium.scientia.demon.co.uk (ident=ben) by lithium.scientia.demon.co.uk with local (Exim 3.02 #1) id 119BST-0000MG-00; Tue, 27 Jul 1999 18:56:09 +0100 (envelope-from ben@lithium.scientia.demon.co.uk) Date: Tue, 27 Jul 1999 18:56:09 +0100 From: Ben Smithurst To: Sue Blake Cc: freebsd-questions@freebsd.org Subject: Re: adding to periodic/weekly Message-ID: <19990727185609.A525@lithium.scientia.demon.co.uk> References: <19990728030422.I7349@welearn.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990728030422.I7349@welearn.com.au> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sue Blake wrote: > Put it in a numbered file under /usr/local/etc/periodic/weekly/ That's what I'd do. > - This seems to be what it's intended for, but nobody said I could So? Nobody said you couldn't :-) > - Path is already in rc.conf but doesn't exist, not sure why not used It's in there so that if you create it, it will Just Work[tm]. Probably. It's not used because the base system doesn't put anything under /usr/local -- that's for local things and ports. > - Can't find doc on its use, e.g. run in path order? unique numbers required? Read /usr/sbin/periodic -- it's only a shell script. Unique numbers are not required, they're just so that you can specify which order things should be run in easily. You don't need to put numbers on the front of the filenames. The files in that directory are run in whatever order "$dir/*" expands to, which will just be ascending numerical order if you name the files in the same way the files under /etc/periodic are named. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message