From owner-freebsd-questions Wed Sep 18 9:20:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A9CF37B404 for ; Wed, 18 Sep 2002 09:20:22 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92AAB43E77 for ; Wed, 18 Sep 2002 09:20:20 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.int (mail@pooh.int [10.0.1.2]) by kanga.honeypot.net (8.12.6/8.12.6) with ESMTP id g8IGKFYs047001 for ; Wed, 18 Sep 2002 11:20:15 -0500 (CDT) (envelope-from kirk@strauser.com) Received: from kirk by pooh.int with local (Exim 3.36 #1 (Debian)) id 17rhYl-0005Jc-00 for ; Wed, 18 Sep 2002 11:20:15 -0500 To: freebsd-questions@freebsd.org Subject: Re: modify daily run output? References: <005001c25f2a$31a160c0$0300a8c0@godzilla> From: Kirk Strauser Date: 18 Sep 2002 11:20:15 -0500 In-Reply-To: <005001c25f2a$31a160c0$0300a8c0@godzilla> Message-ID: <871y7rjmm8.fsf@pooh.int> Lines: 14 X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 At 2002-09-18T15:43:53Z, "Jeff D. Hamann" writes: > I've been perfoming a bunch of informational output (du -h, df, ls -la, > etc) type stuff from cron jobs every night and would like to cut down on > the email I send to myself. Is there a way to add these tasks to the daily > run output email I get from the server? Put your programs into a shell program and put it in /usr/local/etc/periodic/daily . Voila! Your programs will be executed as part of the daily run. -- Kirk Strauser The Strauser Group - http://www.strausergroup.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message