Andy Newby wrote:

How can we have clamAV automatically scan the images after they are
uploaded (to catch any viruses as quickly as possible)?

You'd need to get your software to do that. Between accepting the upload and doing anything with it, call Clamscan to scan it.

Alternatively, and I don't know if this is possible, I believe some OSs have facilities to monitor a filesystem for changes. If you can get the system to tell you when a new file has been created in your upload directory, then you could scan it then - but of course you may need to wait for the upload to complete.

If it is not possible to set up clamAV like this, how can we set up a cron job to scan the image folders and domain / server ?

You create a cron job, to run at whatever schedule you want, that calls Clamscan with the options you want.

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to