On Mar 10, 2021, at 3:29 PM, Paul Kosinski via clamav-users <clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net>> wrote:
I wrote a little script that run off cron every hour or so. But it *only* invokes freshclam after querying ClamAV's DNS TXT record to see if any advertised versions of 'daily', 'bytecode' or 'main' are newer than the local versions of the CVD files, as determined by 'head', not the files' timestamps. Only if something newer is supposed to be available (Cloudflare BOS mirror had some problems in the past), does it invoke freshclam. (It also keeps backup CVD/CLD files just in case.) This provides a very low bandwidth way of getting ClamAV updates ASAP. (I even cron my different ClamAV machines at different odd times during the day.) If anyone is interested, I could provide my scripts: 'getfreshclam' (Bash) which uses 'testclam-dns' (Perl). As someone else said, Freshclam does this for you.
_______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml