Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: cyberwatcher on December 02, 2008, 02:03:05 AM

Title: Clam AV Updates
Post by: cyberwatcher 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.
Title: Re: Clam AV Updates
Post by: pfloor 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.
Title: Re: Clam AV Updates
Post by: cactus 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.
Title: Re: Clam AV Updates
Post by: cactus 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.
Title: Re: Clam AV Updates
Post by: Frank VB 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.