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 h
This is great, I have been doing this for some years now, but recently
discovered this:
uuencode /root/weekly.log weekly_log.txt > /root/weekly_log ; mail -s
"Weekly logs" [EMAIL PROTECTED]
SUBJECT="Differences Found"
VALUE1="Grep values from log file you want"
VALUE2="Grep values from log file
-BEGIN PGP SIGNED MESSAGE-
rpjday wrote:
>just as a philosophical comment, the first way is of course the
>preferred way. as more than one unix book has pointed out,
>whenever you see a "pipeline" of the form:
>
> $ cat (file) | cmd ...
>
>you can almost always rewrite it as:
>
> $ cm
On Mon, 16 Apr 2001, Michael R. Jinks wrote:
> 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]
just as a philosophical comment, the first way is of course the
preferred way.
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
On Mon, Apr 16, 2001 at 10:32:27AM -0400, 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 mis
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 h