ClamAV with WHM and Centos 5.8
Hello I installed ClamAv via WHM. Everything is working great on command line. But I want to run cronjob to update virus database daily with freshclam command and scan entire dedicated server everyday(mails,wws,ftps,/home etc.) on midnight(low load) for removing security threats and viruses on server. I will run crons on root. Please help me to create cronjob for virus db update and daily virus scan and remove for entire server.
I appreciate! Thanks |
Quote:
It only informs you about them Are there any "SELinuxTroubleShooter" errors ? what are the file/folder permissions ? how exactly ARE you setting up the cron job ? Quote:
|
What you think?
0 4 * * * /usr/bin/freshclam; clamdscan --move=/var/quarantine/ -v /home |
OR
0 4 * * * /usr/bin/freshclam; clamdscan --remove -v /home |
No one =(
|
found this:
30 5 * * * /usr/bin/clamscan /home -ir --remove=yes |
to repeat:
Are there any "SELinuxTroubleShooter" errors ? what are the file/folder permissions ? how exactly ARE you setting up the cron job ? freshclam needs to run as root so how did you set up the cron job ? |
All times are GMT -5. The time now is 11:38 AM. |