Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2001 19:54:44 -0500
From:      "Peter Brezny" <peter@sysadmin-inc.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Dump console output sent to mail address possible?
Message-ID:  <003701c092fc$0fb7ede0$46010a0a@sysadmininc.com>

next in thread | raw e-mail | index | archive | help
I've got a script executed by cron that runs a dump command:

dump -1ua -f /bkup/`date +%y%m`-bkup/incr.`date +%y%m%d`.root.bkup /

Which I like, but I'd like dump to send what it normally puts on the console
to me via e-mail.

i tried adding | mail peter@sysadmin-inc.com

but this only sends a blank message.  how can i convince it to send the
output from the dump program.


TIA

Peter Brezny
SysAdmin Services Inc.



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?003701c092fc$0fb7ede0$46010a0a>