> I was wondering if it is possible and if it is advisable to trigger
> freshclam when I receive a message that the daily database has been
> updated.
> 
That is what i do.
In the .procmailrc of the user that gets the notifications I have:
:0Hc
* ^To:[EMAIL PROTECTED]
|/etc/smrsh/clamupdate.cmd


 /etc/smrsh/clamupdate.cmd is one line:
cp /root/stuff/freshclam.scr /etc/cron.hourly/


the file  /root/stuff/freshclam.scr contains:
freshclam
\rm /etc/cron.hourly/freshclam.scr
/usr/batch/clmilter_watch.pl


I put in the hourly cron so that it gets kicked off within the next hour but 
not 
right away when lots of people are probably banging away at the server.

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to