Change freshclam cron

Discussion in 'Installation/Configuration' started by olimortimer, Jan 4, 2013.

  1. olimortimer

    olimortimer Member

    Hi,

    I've noticed that freshclam is running every 2 hours (guessing that it's updating?).

    I'd like to change this so it's less frequent / runs during the night, but I can't find where this runs as a cron.

    Could someone point me to where I can change how often this runs please?

    Cheers
     
  2. florian030

    florian030 HowtoForge Supporter

    Reduce the value for Checks in your freshclam.conf (should be Checks 12).

    Since freshclam uses DNS to check for available Updates there is no need to reduce the daily checks. I use "checks 48" on my servers.
     
  3. olimortimer

    olimortimer Member

    Thanks!

    It was more to reduce the number of CPU usage spikes, which are being created by the freshclam checks.
     

    Attached Files:

  4. florian030

    florian030 HowtoForge Supporter

    Remember that freshclam runs only for a few seconds to check for available updates and fetches (normaly) only diffs from a mirror. I prefer security instead of slightly less load.
     
    Last edited: Jan 5, 2013

Share This Page