I want to automatically scan my web server for malware using ClamAV, but I’m unsure how to set it up for real-time protection. My questions are:
- How to install and configure ClamAV for scheduled and on-demand scans?
- How to integrate ClamAV with a cron job or systemd for automation?
- How to set up alerts or logs when malware is detected?
A working example of automating ClamAV scans and handling infected files would be helpful.