From owner-freebsd-questions Mon Jan 29 15:45:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dsl-64-193-218-89.telocity.com (dsl-64-193-218-89.telocity.com [64.193.218.89]) by hub.freebsd.org (Postfix) with SMTP id 2082937B69D for ; Mon, 29 Jan 2001 15:45:30 -0800 (PST) Received: (qmail 4641 invoked by uid 1000); 29 Jan 2001 23:43:16 -0000 Date: Mon, 29 Jan 2001 17:43:16 -0600 From: Lucas Bergman To: Peter Brezny Cc: freebsd-questions@freebsd.org Subject: Re: piping dump output to mail user. Message-ID: <20010129174316.I17961@billygoat.slb.to> Reply-To: lucas@slb.to References: <000001c08a48$492ae440$46010a0a@sysadmininc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000001c08a48$492ae440$46010a0a@sysadmininc.com>; from peter@sysadmin-inc.com on Mon, Jan 29, 2001 at 06:07:42PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I was hoping to be able to mail what dump would normally output to > the screen with a command like this in crontab > > dump (variables) | mail peter@sysadmin-inc.com > > Although the dumps run, I don't get anything in the mail. Maybe the output is going to stderr instead of stdout? Try # dump blah blah 2>&1 | mail whomever Also, check crontab(5) and read about the MAILTO variable. Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message