From owner-freebsd-questions Thu Apr 5 9:55:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (Postfix) with ESMTP id DC2CA37B505 for ; Thu, 5 Apr 2001 09:55:38 -0700 (PDT) (envelope-from dwalin@haldjas.folklore.ee) Received: from localhost (dwalin@localhost) by haldjas.folklore.ee (8.9.3/8.9.3) with SMTP id QAA56271; Thu, 5 Apr 2001 16:10:49 +0200 (EET) (envelope-from dwalin@haldjas.folklore.ee) Date: Thu, 5 Apr 2001 16:10:34 +0200 (EET) From: Dwalin Reply-To: Dwalin To: Daniel Mester Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Adding scripts to periodic? In-Reply-To: <20010405113530.A10367@tethys.valhalla.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 5 Apr 2001, Mark Drayton wrote: > 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. I read from the /etc/defaults/periodic.conf, that # 999.local weekly_local="/etc/weekly.local" # Local scripts Also you might want to look at /etc/periodic/ Juhani To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message