hi all,

i am getting an email from my server, every time freshclam ran and there wasn't an update:
run-parts: /etc/cron.daily/freshclam exited with return code 1


this is the cron script:

#!/bin/sh

# A simple update script for the clamav virus database. This could as well
# be replaced by a SysV script.


# fix log file if needed
LOG_FILE="/var/log/clamav/freshclam.log"
if [ ! -f ${LOG_FILE} ]; then
    touch $LOG_FILE
    chmod 644 $LOG_FILE
    chown clamav.clamav $LOG_FILE
fi

/usr/bin/freshclam \
--quiet \
--datadir=/var/lib/clamav \
--log=$LOG_FILE \
--log-verbose
# move this backslash to the end of the above line, if activating the line below! \
# --daemon-notify=/etc/clamav.conf


what do i have to change, in order to get only serious errors emailed to me?

cheers,
phil



-------------------------------------------------------
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

Reply via email to