This modified clamdwatch version is available from: http://nucleo.freeservers.com/clamdwatch/ crontab example: * * * * * /path/to/clamdwatch.pl -q -timeout=30 -socket=/path/to/clamd.sock && /path/to/restart-clamd.sh The original clamdwatch is: clamdwatch Copyright (C) Mike Cathey http://mikecathey.com/code/clamdwatch/