Odhiambo Washington wrote:

How do people run freshclam in daemon mode,

I'm not sure what you mean here.
Tried freshclam -d yet?

as opposed to via crontab?


Well, when people put entry in crontab
0 * * * * /usr/local/bin/freshclam

all updates will happen at hour-change (bad for database mirrors).
If you run freshclam -d, it will check for updates every few hours.
Suppose I run freshclam -d at Tue Feb 17 05:01:13 2004, and have
Checks 12
in my freshclam.conf. Then updates will happen like these :

ClamAV update process started at Tue Feb 17 07:01:13 2004
main.cvd is up to date (version: 19, sigs: 19987, f-level: 1, builder: ddm)
daily.cvd is up to date (version: 131, sigs: 737, f-level: 1, builder: tomek)


--------------------------------------
ClamAV update process started at Tue Feb 17 09:01:15 2004
main.cvd is up to date (version: 19, sigs: 19987, f-level: 1, builder: ddm)
daily.cvd is up to date (version: 131, sigs: 737, f-level: 1, builder: tomek)


It does not randomize minutes like if you put RANDOM in your crontab,
but considering that it is unlikely for all people to run freshclam -d at exactly the same time,
updates will occur at different minutes. Thus lessen(or distribute) database mirror load.


Again, I'm not sure if this is what you meant.

Regards,

Fajar A. Nugraha


------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to