Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 20:19:58 -0600
From:      Anti <fearow@attbi.com>
To:        Jez Hancock <jez.hancock@munk.nu>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Periodic Scripts
Message-ID:  <20030326201958.6b163dcd.fearow@attbi.com>
In-Reply-To: <20030326201157.GA7599@users.munk.nu>
References:  <BAA734A4.3DE3%scott@g-it.ca> <20030326201157.GA7599@users.munk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Mar 2003 20:11:57 +0000
Jez Hancock <jez.hancock@munk.nu> 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...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030326201958.6b163dcd.fearow>