On Tue, 24 Jan 2006 at 11:39:30 +0000, Markus Braun wrote:
> >You can either ignore it or use the -devel version with improved tar
> >support.
> 
> But i always get a seperat error email to my account. How can i deactivate 
> it?

As far as you've written, now you have the entry:

0 19 * * *  clamscan clamscan -r /var/opt | mail -s Virusscan [EMAIL PROTECTED]

Try to redirect error output to /dev/null, like

0 19 * * *  clamscan clamscan -r /var/opt 2>/dev/null | mail -s
 Virusscan [EMAIL PROTECTED]

(all in one line of course). Or maybe the "2>/dev/null" should be
at the end of the line - for the crontab entry as a whole - you must
experiment.

-- 
 Tomasz Papszun    SysAdm @ TP S.A. Lodz, Poland    | And it's only
 tomek at lodz.tpsa.pl http://www.lodz.tpsa.pl/iso/ | ones and zeros.
 tomek at clamav.net   http://www.ClamAV.net/   A GPL virus scanner
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to