Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hi i should send some logs' analys

Status
Not open for further replies.

bluelake

Technical User
Jan 20, 2003
57
CN
hi
i should send some logs' analysis result to my leader's mailbox and somebody else everyday,i want to use cron to do this automatically every night,but i dont know how to add attachment with command "sendmail" or "mail".

any help will be appreciated,thanks!

 
[tt]uuencode source_file attachment_filename | mailx -s "Message subject" email_addres@somewhere[/tt] Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top