<div dir="ltr"><div class="gmail_default" style="font-size:small">On Wed, 1 Aug 2018 at 13:39, Danny Horne <<a href="mailto:danny@trisect.uk" target="_blank">danny@trisect.uk</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
I've been trying to figure out what dictates the interval at which<br>
freshclam updates the virus database.  It currently updates every three<br>
hours, but I rebooted my server at midnight last night, expecting<br>
updates to be done at 03:00, 06:00 etc., but they started at 05:00, then<br>
08:00 etc.<br>
<br>
/etc/freshclam.conf is set to update every hour (for testing purposes),<br>
but this is ignored (guessing I need to set a cron job, but if that's<br>
the case why offer a time interval in the configuration file).<br>
<br>
Just trying to understand the update process.<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">I think it should be determined by freshclam.conf, which in my case is at /etc/clamav (and is shown as such in my 'man freshclam'). On my system (Ubuntu 18.04) freshclam is run by systemd (as clamav-freshclam), but it knows not to run if /etc/cron.d/clamav-freshclam exists (which it doesn't in my case), as presumably in this case freshclam is being run from cron. My setting in freshclam.conf is to update every hour (Checks 24) and it works like that.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You probably have to reload freshclam if you make changes to the freshclam.conf file. So:</div><div class="gmail_default" style="font-size:small">- are you sure you are editing the correct freshclam.conf file?</div><div class="gmail_default" style="font-size:small">- did you reload freshclam after making changes to it?</div></div></div>