I know grep should do it.... but if I want to check the pattern every five seconds... I need to make a cronjob to run the grep command.... right ?
what Im asking is that if I can check it automatically once the file contains this pattern with out any cronjob...
once the file has the patteren..... do something...
I cant use cronjob becasue it's not allowed on our server