I think you want

mail -s "weekly logs" [EMAIL PROTECTED] < /root/weekly.log

...either that, or

cat /root/weekly.log | mail -s "weekly logs" [EMAIL PROTECTED]

HTH,
-m

digitalfrontier wrote:
> 
> Im using the mail command to send me my some log files every week...but when
> i get the email, the files are not sent,..here is the command line i used:
> 
> mail -s "weekly logs" < /root/weekly.log [EMAIL PROTECTED]
> 
> am i missing something here?...why its the file not being sent with the
> email?
> 
> any help would be much appreciated
> 
> Thanks
> ---
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.248 / Virus Database: 121 - Release Date: 4/11/2001
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 
~~~Michael Jinks, IB // Technical Entity // Saecos Corporation~~~~
"We've done our best, but you're still hosed." -- W. Stearns, ISTS
Opinions expressed above are my own, and not those of my computer.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to