Shell Script

CLOSED
Bids
23
Avg Bid (USD)
$94
Project Budget (USD)
$30 - $250

Project Description:
I need a script that will tail a logfile, and check for a specific keyword. example "message" it will have to count the call1 and call2 or whatever it will say before the @ sign but only if the line contains the word "message". it needs to count if this occurs more than 3 times in 5 seconds. if it does, it needs to kill the script called call1.sh or call2.sh (whichever call has occured in the past 5 seconds 3 times.

-- Executing [call1@calling:6] BackGround("SIP/flowroute-00011eee", "message") in new stack
-- Executing [call2@calling:6] BackGround("SIP/flowroute-00011eee", "message") in new stack

after it stops call1.sh it will start call1.sh after 5 minutes, and if the above occurs, stop it again, then wait another 5 minutes, and then start again.

Skills required:
Linux, Shell Script
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


Hire FandaR
$ 115
in 0 days
$ 210
in 7 days
$ 66
in 2 days
Hire kj163
$ 155
in 3 days
$ 35
in 1 days
Hire name63
$ 69
in 1 days
$ 147
in 3 days
Hire ErwanMas
$ 111
in 1 days
Hire nithi87cool
$ 77
in 3 days
$ 77
in 0 days