At 22:09 18/09/2003, Darryl W. DeLao Jr wrote:
Anyone know of a way to make clamscan email you when its done scanning with the results included?
 

pipe the results into "mail"

viz:-

(cd /;/usr/bin/clamscan --recursive --quarantine /var/clamav/quarantine --infected --stdout --log /var/clamav/log/clamscan.log --tar --tgz | mail -s "[`hostname`] Clam Antivirus Scan Results - `date`" root)

cheers

Brian

--
Brian J Read
www.abandonmicrosoft.co.uk
www.theonlineorganiser.com
www.thepersonalknowledgebase.com
Moderator for Mitel SMEserver Contributions and Howtos: www.contribs.org
+44 1695 723723

Reply via email to