Automating Linux Anti-Virus Using ClamAV and Cron
Thankfully Linux isn’t a platform which has a significant problem with Viruses, however it is always better to be safe than sorry. Luckily ClamAV is an excellent free anti-virus solution for Linux servers. However, at least on RedHat Enterprise 5 (RHEL5) the default install doesn’t offer any automated scanning and alerting. So here is what I’ve done:
The following steps assume you are using RHEL5, but should apply to other Linux distributions as well.