Dennis Peterson wrote:
Jay Lee wrote:
I am attempting to write a script that will take action whenever an
email from the [EMAIL PROTECTED] list is received.  The
script would run freshclam and grab the most recent update, thus giving
me the most up to date version at all times without putting a heavy load
on the ClamAV servers.



Why don't you just do something simple like:

dig TXT current.cvd.clamav.net

This returns the current released version of ClamAV, the current CVD file version numbers, and the date and time of the update.
The idea is to grab the update immediately once it is published. Checking the DNS record would have to be a cron job and thus would only run at a given time.

Jay
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to