گروه آموزشی مجموعه فاوا
This is a simple Bash script for those who want to schedule the following tasks via cron:
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.
To succesfilly run clamav-cron the following dependencies needs to be satisfied:
wget http://clamav-cron.googlecode.com/files/clamav-cron-0.6 -O /usr/local/bin/clamav-cron chmod 755/usr/local/bin/clamav-cron
4523**6/usr/local/bin/clamav-cron /home
Cron will run clamav-cron every Saturday at 23:45 (11:45 pm) to recursevly scan the whole /home tree. At the end of task it will send a notification e-mail to the users specified at point 2. For more crontab option type man 5 crontab.