Cron to scan mail directory
Hi Team,
we are adding cron to scan users mail directory every 1am. and move detected malware to a specific directory. will the above entry work? thanks in advance for your suggestions.
0 1 * * * /usr/local/cpanel/3rdparty/bin/clamscan -r --move=/root/.folder/ /home/*/mail/
-
Looks about right. 0 -
That looks like it would work, let us know how it performs for you. 0 -
thanks for the reply. it does work as expected. though server load takes hit. is there a way to scan one cpanel account at a time? 0 -
Short of setting up crons for each and every account, there is not a way to do this. 0
Please sign in to leave a comment.
Comments
4 comments