From owner-freebsd-questions Thu Apr 5 3:35:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tethys.valhalla.net (tethys.valhalla.net [195.26.32.112]) by hub.freebsd.org (Postfix) with ESMTP id 5DF0A37B440 for ; Thu, 5 Apr 2001 03:35:31 -0700 (PDT) (envelope-from mark@tethys.valhalla.net) Received: by tethys.valhalla.net (Postfix, from userid 500) id 8472632E7E; Thu, 5 Apr 2001 11:35:30 +0100 (BST) Date: Thu, 5 Apr 2001 11:35:30 +0100 From: Mark Drayton To: freebsd-questions@freebsd.org Subject: Re: Adding scripts to periodic? Message-ID: <20010405113530.A10367@tethys.valhalla.net> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from DanielM@EverAd.com on Thu, Apr 05, 2001 at 12:11:59PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel Mester (DanielM@EverAd.com) wrote: > What the steps should i take to add my own scripts to run with > "periodic"? > I would like to run some scripts weekly - but i cannot realize where > to start. I know i can use 'crontab' this way. You need to make the directory /usr/local/etc/periodic/weekly. Put your scripts in there (making sure they are executable) and they'll be run once a week. See periodic(8) and periodic.conf(5) for more info. Cheers, -- Mark Drayton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message