From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078728411896.tru64-unix-managers.marc@archive.invalid> From: "Johnson, Andrew A." Date: Fri, 13 Nov 1998 15:07:55 +0000 To: tru64-unix-managers Subject: SUMMARY: Mail How-To X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078728411896 -----Original Message----- From: Johnson, Andrew A. Sent: Friday, November 13, 1998 6:28 AM To: alpha-osf-managers@ornl.gov Subject: Mail How-To Morning, All! Need to send a notification at the end of a process. Just need to know when the process is done. Have used: mailx -s "Process is Done" myself@where_I_am.com < /dev/null This, however, produces a residual (and undesired) message in system mail: "Null message body. Hope that's okay" How can notification be sent without the system mail? tia Andrew Johnson Computer Operations ESCO Corporation Portland, Oregon ++++++++++++++++++++++++++++++++++++++++++++++++++++ Thanks, All Several good replies among which were: +++++++++++++++++++++++++++++++++++++++++ How about echo " "| mailx -s "Process is Done" myself@where_I_am.com -- -- Paul A. Sand | No, no, that wasn't me! -- University of New Hampshire | (Anonymous) -- pas@unh.edu | -- http://pubpages.unh.edu/~pas | +++++++++++++++++++++++++++++++++++++++++ If you are running shell (sh) script: mailx -s "Process is Done" you@yourplace < /dev/null >/dev/null 2>&1 Which ought to silence any output from mailx. S -- ------------------------------------------------------------------------- Sean O'Connell Email: sean@stat.Duke.EDU Institute of Statistics and Decision Sciences Phone: (919) 684-5419 Duke University Fax: (919) 684-8594 +++++++++++++++++++++++++++++++++++++++++++++ Try date | mailx -s "Process is Done" myself@where_I_am.com ----------------------------------------------------------------------- Pirie Hart, Ph.D. Univ. of Washington, Box 359931 Senior Computer Specialist Center for AIDS and Telephone: (206) 720-4312 Sexually Transmitted Diseases Facsimile: (206) 720-4209 1001 Broadway, Suite 215 Internet: pirie@u.washington.edu Seattle, WA 98122-4381 ----------------------------------------------------------------------- +++++++++++++++++++++++++++++++++++++++++++++ From: Roger Picard [mailto:Roger.Picard@digital.com] Sent: Friday, November 13, 1998 6:35 AM To: Johnson, Andrew A. Subject: RE: Mail How-To echo "Process is done" > /tmp/message.txt mailx -s "Process is Done" myself@where_I_am.com < /tmp/message.txt rm /tmp/message.txt