Changes

From Amahi Wiki
Jump to: navigation, search
10 bytes removed ,  23:41, 19 July 2014
==== Configure Daily Scan ====
In this example, we will configure a cronjob to scan the /home/ directory Docs share every day:
* Create cron file:
vim /etc/cron.daily/manual_clamscan
* Add the following to the file above. Be sure to change SCAN_DIR to the directory that you want to scan:
#!/bin/bash
SCAN_DIR="/var/hda/files/Picturesdocs"
LOG_FILE="/var/log/clamav/manual_clamscan.log"
/usr/bin/clamscan -i -r $SCAN_DIR >> $LOG_FILE
12,424

edits