资 源 简 介
clamav-cron
Summary:
This is a simple Bash script for those who want to schedule the following tasks via cron:
update the ClamAV virus database (freshclam);
perform personal system scan (clamscan);
send a brief report via e-mail;
without any knowledge about ClamAV configuration files (such as clamd.conf or freshclam.conf) and without running the ClamAV daemon. You just have to configure the e-mail address(es) that will receive the report.
Dependencies:
To succesfilly run clamav-cron the following dependencies needs to be satisfied:
* the ClamAV engine (look at ClamAV download center);
* a mail server like Sendmail;
How to use:
Download clamav-cron somewhere like /usr/local/bin/ and give it execute permission: