Find Jobs
Hire Freelancers

shell script to INV data

$30-250 USD

Completed
Posted over 4 years ago

$30-250 USD

Paid on delivery
I need a script where you in the top inform the period it must search in the log for. This period must always be two months. The first month is chosen as a specific month and year and the other month is set by default to the previous month, but it must be possible to change this to another month. Hereafter it must for each line in the file [login to view URL] take the company name Output listen must be made based on the company names, which are in the right side after : in Jul.txt. It must generate a list with the information below, whereafter the list must be send by mail to two different e-mail adresses. Name Answered Total incomming calls [login to view URL] Customer service 234 324 European-love Customer service 214 356 [login to view URL] Customer service 225 387 It must show answered and total incoming for both the first and the second month - it must also show the difference between the two months, where the difference is shown in red if it is positive and in black if it is positive. This must be shown both as the pure number and as a percentage. The oldest month must always be the basis, so if we have chosen January 2019 with 200 calls and June 2019 with 250 calls, then the difference is 50 calls (shown in black) and 25% (also shown in black). If we had then chosen June 2019 with 250 calls and August 2019 with 200 calls, then the difference is 50 calls (shown in red) and 20% (also shown in red). [login to view URL] looks like this, it will continously change, thus the script must be able to automatically get the information from the file with the new changes. /showname/442030342716 : [login to view URL] Customer service /showname/442030342717 : European-love Customer service /showname/442030342718 : [login to view URL] Customer service /showname/442030342719 : [login to view URL] Customer service /showname/442030342720 : [login to view URL] Customer service /showname/442030342721 : [login to view URL] Customer service /showname/442030342722 : [login to view URL] Customer service /showname/442030342723 : [login to view URL] Customer service /showname/442030342724 : [login to view URL] Customer service Answered is found by searching like this cat /var/log/messenger* | grep 'ubber = [login to view URL] Customer service' | wc -l Total incomming is found by searching like this cat /var/log/messenger* | grep 'ubber1 = [login to view URL] Customer service' | wc -l
Project ID: 21266515

About the project

2 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi I can write a shell script as per your requirement. My only doubt is the variation in [login to view URL] as you mentioned. WIll there be a change in format of [login to view URL] file ? If interested pls contact me. Thanks
$110 USD in 3 days
5.0 (21 reviews)
4.2
4.2
2 freelancers are bidding on average $155 USD for this job
User Avatar
I have 8+ years of experience in working Telecom projects & worked with CDRs. I would be able to deliver the best report as you expect.
$200 USD in 6 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of DENMARK
Stenløse, Denmark
4.9
42
Payment method verified
Member since Nov 6, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.