From owner-freebsd-isp@FreeBSD.ORG Wed Mar 26 18:20:29 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D155D37B404 for ; Wed, 26 Mar 2003 18:20:29 -0800 (PST) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E9FC43F75 for ; Wed, 26 Mar 2003 18:20:29 -0800 (PST) (envelope-from fearow@attbi.com) Received: from god.woofcat.com (12-251-110-17.client.attbi.com[12.251.110.17]) by sccrmhc02.attbi.com (sccrmhc02) with SMTP id <2003032702202800200jf603e>; Thu, 27 Mar 2003 02:20:28 +0000 Date: Wed, 26 Mar 2003 20:19:58 -0600 From: Anti To: Jez Hancock Message-Id: <20030326201958.6b163dcd.fearow@attbi.com> In-Reply-To: <20030326201157.GA7599@users.munk.nu> References: <20030326201157.GA7599@users.munk.nu> Organization: Woofcat X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-25.7 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, RCVD_IN_UNCONFIRMED_DSBL,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-isp@freebsd.org Subject: Re: Periodic Scripts X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 02:20:32 -0000 On Wed, 26 Mar 2003 20:11:57 +0000 Jez Hancock wrote: > On Wed, Mar 26, 2003 at 10:42:44AM -0600, Scott Gerhardt wrote: > > My question is can I add a "periodic hourly" entry to crontab and create a > > "/usr/local/etc/periodic/hourly" directory and put the hourly scripts in > > this directory? Will they be executed? > Create a directory: > > /etc/periodic/hourly/ > > populating it with scripts in a manner similar to /etc/periodic/daily et al, > then add variables into your /etc/periodic.conf file for the daily scripts > and call it from cron using: > > 1 * * * * root periodic hourly > > in /etc/crontab. > > > man periodic seems to suggest you can do this: better to keep custom scripts under /usr/local/etc imo... the default periodic.conf checks these directories as well as the ones under /etc...