Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 16:49:20 -0500 
From:      "Morse, Richard E." <REMORSE@PARTNERS.ORG>
To:        "'questions@freebsd.org'" <questions@freebsd.org>
Subject:   Question about periodic...
Message-ID:  <375F68784081D511908A00508BE3BB17DDDC62@phsexch22.mgh.harvard.edu>

next in thread | raw e-mail | index | archive | help
Hi!  I just recently started using FreeBSD (ie, about 2 weeks ago).  So this
might be a really simple answer...

I want to have CVSup run weekly.  I think that it would be nice to include the
output from this run with the rest of the "periodic"ly run scripts -- like the
security report that gets mailed to me every morning.  An I understand, I need
to add a script to the weekly configuration for periodic.  However, as this is a
local script, I should not add it to the /etc/periodic/weekly/ directory.  There
seems to be references to two directories: /usr/local/etc/periodic/ and
/etc/weekly.local/

Neither directory exists.

If I create the directory in /usr/local/etc/ and then add a script directly to
the periodic directory, won't it get executed by all of the periodic runs (ie,
daily, weekly, and monthly)?  Or do I create a directory
/usr/local/etc/periodic/weekly/ and put scripts in there?  Or should I create
the /etc/weekly.local directory?

I guess my question is how do I go about adding commands to the weekly run.

Thanks,
Ricky

(ps: although I can't imagine that it would matter, I can use perl instead of sh
for the scripts, yes?)

-----------------------------------------------------
Richard Morse                    System Administrator 
MGH Biostatistics Center      50 Staniford St. Rm 560
remorse@partners.org                     617/724-9830

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?375F68784081D511908A00508BE3BB17DDDC62>