Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 07:19:53 -0600
From:      D J Hawkey Jr <hawkeyd@visi.com>
To:        questions at FreeBSD <freebsd-questions@freebsd.org>
Subject:   Q: Setting up local periodic scripts
Message-ID:  <20020305071953.A58277@sheol.localdomain>

next in thread | raw e-mail | index | archive | help
Hi all.

After reading the 'periodic' man page (several times), as well as
/etc/defaults/periodic.conf and /etc/crontab, I'm still fuzzy about
setting up "local" periodic scripts.

I've modified 100.clean-disks and 110.clean-tmps to do things more to
my liking (see PR 35545), and wish to put them in /usr/local/etc/periodic
and have them run from there _instead_of_ replacing the system scripts
in /etc/periodic.

Is it as simple as what I infer, that I just move them to that local
directory, do _not_ enable the system equivalents in /etc/periodic.conf
(though I must set the pertinent script variables in that file), and
'periodic' blindly runs whatever it finds in that "local" directory,
rather like how the boot process blindly runs whatever is found in
/usr/local/etc/rc.d?

I just want to be sure of what I'm doing before I just go and do it.
This is a Unix, after all.  ;-,

Please CC: or reply to me directly; I'm not subscribed to this list.

TIA,
Dave

-- 
  ______________________                         ______________________
  \__________________   \    D. J. HAWKEY JR.   /   __________________/
     \________________/\     hawkeyd@visi.com    /\________________/
                      http://www.visi.com/~hawkeyd/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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