Shell Script

This project received 23 bids from talented freelancers with an average bid price of $94 USD.

Get free quotes for a project like this
Project Budget
$30 - $250 USD
Total Bids
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 [url removed, login to view] or [url removed, login to view] (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 [url removed, login to view] it will start [url removed, login to view] after 5 minutes, and if the above occurs, stop it again, then wait another 5 minutes, and then start again.

Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online