HI [EMAIL PROTECTED] wrote the following at 02:48 04.06.2002: >Message: 2 >From: "Vintage" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> >Date: Mon, 3 Jun 2002 17:08:21 -0400 > >So, given this sample script of moe.config file from steinkuhler.net: > ># User to run program as >su_usr=root > ># Program to run >cmd="do_something param1 param2 ..." > ># Person to mail results >mailto="[EMAIL PROTECTED]" > ># Subject of mail message >subject="Important message from LRP" > ># Include system details (free mem/disk) yes/no >details=no > ># Mail always (yes) or only on error (no) >mailalways=yes > >What am I supposed to put in the "cmd=" section. I am not clear on this. I >typed in "mail -a /var/log/messages", as well as several other guesses, but >when I run "mailonerr moe.config", I get the following types of email sent >to me:
maybe something like cat /var/log/mylog.... Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html