Hi all,

I have a shell script here, that looks through my web server error log, and
looks for ip's that have requested cmd.exe, default.ida, root.exe and
Admin.dll.

if it finds then, it blocks those IP's via ipchains, and writes the ip
address's to a log..

if it is run again, it will only add new ones that are not already on the
log...

I would like to run this thing every minute or so... (no point blocking
servers if they have already moved on)

how can I get this script to run every two minutes or so??

(it takes about 50 seconds to scan the log and do the job, but only because
my error_log is huge at the moment.)

any suggestions???



regards


Frank


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to