From owner-freebsd-questions Fri Mar 8 13:53:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from PHSEXCHICI.MGH.HARVARD.EDU (phsexchici.mgh.harvard.edu [132.183.126.51]) by hub.freebsd.org (Postfix) with ESMTP id D09EF37B420 for ; Fri, 8 Mar 2002 13:49:23 -0800 (PST) Received: by phsexchici.mgh.harvard.edu with Internet Mail Service (5.5.2650.21) id <15316GXZ>; Fri, 8 Mar 2002 16:49:22 -0500 Message-ID: <375F68784081D511908A00508BE3BB17DDDC62@phsexch22.mgh.harvard.edu> From: "Morse, Richard E." To: "'questions@freebsd.org'" Subject: Question about periodic... Date: Fri, 8 Mar 2002 16:49:20 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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