From owner-freebsd-bugs Thu Dec 27 15: 0: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1D7C837B41B for ; Thu, 27 Dec 2001 15:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBRN03m87563; Thu, 27 Dec 2001 15:00:03 -0800 (PST) (envelope-from gnats) Date: Thu, 27 Dec 2001 15:00:03 -0800 (PST) Message-Id: <200112272300.fBRN03m87563@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J . Clark" Subject: Re: conf/33149: small change in /etc/periodic/*/999.local Reply-To: "Crist J . Clark" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR conf/33149; it has been noted by GNATS. From: "Crist J . Clark" To: Jan Srzednicki Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: conf/33149: small change in /etc/periodic/*/999.local Date: Thu, 27 Dec 2001 14:52:47 -0800 On Mon, Dec 24, 2001 at 02:26:11PM -0000, Jan Srzednicki wrote: [snip] > The /etc/periodic/*/999.local script will only allow to run a sh script. > Suerly you can put other scripts in cron, but I think it would be nice to > have such scripts run via periodic.conf (and receive daily reports from > in one mail). As stated in the comments for the 999.local script, it only really exists for back compatibilty with /etc/daily.local. For the functionality you desire, the recommended way to go is to use functionality built into periodic(8). Drop your "scripts" into /usr/local/etc/periodic/daily/. The "script" may be any executable file and not just a shell script. Since this is the preferred and supported way to do this and it has the functionality you desire, unless you have further argument why the support is also needed in 999.local, I'll close up the PR in a day or two. -- "It's always funny until someone gets hurt. Then it's hilarious." Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message