#!/bin/bash export http_proxy="cerebus:800" /usr/local/bin/freshclam --quiet -l /var/log/clam-update.log
However because it often returns an exit code of 1 I get daily emails from cron because it thinks something is wrong. Looking in the man page reveals this:
RETURN CODES 0 : Database succesfully updated.
1 : Database is up-to-date.
I'm new to the *nix world (about 3 years now) but I thought returning anything other than a zero means an error. I'd like to get error messages, but I don't need to get email telling me the database was up to date. Does anyone know why it was set up this way, and what should I do about it?
Chris Berry [EMAIL PROTECTED] Systems Administrator JM Associates & Coast Business Service
"When your only tool is a hammer, all of your problems start looking like nails." --Mark Twain
_________________________________________________________________
Our best dial-up offer is back. Get MSN Dial-up Internet Service for 6 months @ $9.95/month now! http://join.msn.com/?page=dept/dialup
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users