[EMAIL PROTECTED] wrote:
Freshclam via cron....

What sort of update intervals are people using, and can someone show me a
working crontab entry? I've tried calling freshclam like this via a crontab
entry

06 0  * * * /usr/local/bin/freshclam

BUt it doesn't seem to work. Which means I'm probably missing somethign
obvious.

I have # ClamAV 57 12 * * * /usr/bin/freshclam --quiet

and it means run once a day, at 12:57, every day, every month, every week day, and (cron) don't send me messages that it ran.

If you have a mail server you should run it more often, your cron line says once at 0:06 hours.

In different implementations of cron there is the possibility of using several variants, for instance:
57 12/2 * * * /usr/bin/freshclam --quiet
would mean run every 2 hours starting at 12:57, this is for Paul Vixie's cron implementation.


In other cron implementations (the one in Solaris for instance) the same would have to be written explicitly:
57 12,14,16,18,20,22,0,2,4,6,8,10 * * * /usr/bin/freshclam --quiet


So, read your cron and crontab (usually 2) manuals.
--
René

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to