Time limited function in a continuous running bash script
$10-30 USD
Ukończony
Opublikowano ponad 7 lat temu
$10-30 USD
Płatne przy odbiorze
I need a Linux (Ubuntu) based BASH script to continuously process files in a directory. I am using tcpflow to dump specific session files out of a pcap stream and into files in the same folder. In the folder, the files come in, get processed by my script, and moved/compressed in another folder. This processing consists of reading the file, gathering specific data and logging it into a log file. Because the log file continues to grow as each file is processed, I need to periodically stop and begin writing to a new log file under a different name.
What I need is a time-based loop to write the data to a log file for say, 30 minutes and then it stops and begins to write to a new log file. The log files might look like:
log-20160106-0400
log-20160106-0430
log-20160106-0500
This script needs to run until stopped (ctrl-c). I seem to think of it as a time-based loop nested inside of an infinite loop. I have the main part of the script finished, I just need the loops, or processes to call everything. I would like to do this all in one script if possible.
Hi There,
I am a serious bidder. And I can start to work with you right now. Once I accept your project, I am sure I can complete it and satisfy your desires. However, I need to know exactly details you want before I start my work.
I am system engineer with 4 years experience and developer with 8 years experience. For my work attitude, please feel free to check my ratings from my previous customers.
Best Regards,
Steven
$35 USD w 1 dzień
5,0 (21 opinii)
4,5
4,5
5 freelancerzy składają oferty o średniej wysokości $45 USD dla tej pracy
Dear Client,
Greeting of the day ahead !!! Thanks for providing us opportunity to place bid over the project and communicate with you. I am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned .I have checked your requirements.i have right skills to work on this assignmentWe find our expertise, skills and capabilities are perfectly blends with your project requirements because we have already worked on many projects.
You'll love the whole layout, interface design , cross-browser compatibility and mobile-device-friendly interfaces that we design
Our team has created over dozen of windows, and web based appliations iPhone/iPad games and apps, and over 10 Windows and Linux server APIs and security tools
Don't waste any more time in your development We take care of all these things for you . Advanced custom coding for our clients. Anytime.
[Removed for encouraging offsite communication which is against our Terms and Conditions.]. plz add me to discus
I am ready to discuss with you Looking forward to hear from you.
with best Regards