# touch /var/log/clam-update.log # chmod 644 /var/log/clam-update.log # chown clamav /var/log/clam-update.logNow, you may run freshclam as a daemon:
# freshclam -d -c 2 -l /var/log/clam-update.logIt will check for a new database 2 times a day. Please add this line to your startup scripts. The other way is to use the cron daemon. You have to add a similar line to the crontab of root or clamav:
0 8 * * * /usr/local/bin/freshclam --quiet -l /var/log/clam-update.logIt will check for a new database daily at 8 am. You may need to setup the proxy support on your system. You should set the environment variable $http_proxy, eg.
export http_proxy="my.proxy.server:8080"There is also -http-proxy option available.