restarting apache after error in log

Is it possible to let a crontab look in the apache error docs and if it finds an expression in the last 100 lines or so it will it will restart apache.
Anyone know if this is possible??

Thanks

 

 

 

 

Top