Re: Emailing a file attachment w/ cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mi, den 02.06.2004 schrieb Paul Dubinsky um 15:00:

> I'm using FC1 and I need to email a log file with cron. I'm currently using 
> send but send takes the logfile and makes it the body of the email. I want 
> to send it as an attachment. I've Man'ed mail, send and post but none of 
> these explicitly handle attachments.

> TIA,
> Paul

cat logfile | uuencode logfile | mail -s "this is a logfile attached" recipient@xxxxxxxxxx

uuencode is part of the sharutils package.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.5-1.358 
Serendipity 19:00:32 up 19:18, 8 users, 0.12, 0.09, 0.02 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux