abes-esr / clamscan-docker

Dockerization 🐳 of ClamAV and specifically clamscan command used to scan periodicaly a specific folder for detecting trojans, viruses, malware & other malicious threats. If something bad is detected, an email is sent.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SCAN_ONLY_NEW_FILES

kerphi opened this issue · comments

SCAN_ONLY_NEW_FILES could be true by default. Then the scan will scan a first time the whole FOLDER_TO_SCAN content, and the next time (CRON_CLAMSCAN) it will only scan the new files found.

Thanks to this feature, the process will be lighter (less CPU usage) especially when there is lot and lot of files in FOLDER_TO_SCAN.