Koozali.org: home of the SME Server

Clam AV Updates

Offline cyberwatcher

  • ***
  • 66
  • +0/-0
    • The Network Security Company
Clam AV Updates
« on: December 02, 2008, 02:03:05 AM »
I would like to schedule ClamAV updates to only once a day at a specific time. Can someone please tell me where I can make this edit from within the server.

Thanks.

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: Clam AV Updates
« Reply #1 on: December 02, 2008, 04:25:03 AM »
Here are all the clam db settings http://wiki.contribs.org/DB_Variables_Configuration#Clam_AntiVirus_.28clamav.29

To change freshclam to once a day is easy, you need to change this setting:

Code: [Select]
config setprop clamav Checks 1
signal-event clamav-update

Dictating what time it will execute isn't that easy.  You will have to create a custom template to do that.
In life, you must either "Push, Pull or Get out of the way!"

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Clam AV Updates
« Reply #2 on: December 02, 2008, 01:54:38 PM »
I would like to schedule ClamAV updates to only once a day at a specific time. Can someone please tell me where I can make this edit from within the server.
Is there a specific reason to do so? IMHO you can not receive an update soon enough.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Clam AV Updates
« Reply #3 on: December 02, 2008, 01:56:45 PM »
Here are all the clam db settings http://wiki.contribs.org/DB_Variables_Configuration#Clam_AntiVirus_.28clamav.29

To change freshclam to once a day is easy, you need to change this setting:

Code: [Select]
config setprop clamav Checks 1
signal-event clamav-update
AFAIK that means once an hour, to do a daily check I think you need to supply 24, which is the default I believe.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Frank VB

  • ****
  • 127
  • +0/-0
Re: Clam AV Updates
« Reply #4 on: December 02, 2008, 03:05:07 PM »
AFAIK that means once an hour, to do a daily check I think you need to supply 24, which is the default I believe.
I've been "playing around" with the Checks property a few months ago and AFAIK Checks 1 means once every 24 hours. Checks 24 means every hour. BTW, you can't set it to a value of 0.