Find Jobs
Hire Freelancers

Bash script Linux CentOS

$10-30 USD

В роботі
Опублікований almost 7 years ago

$10-30 USD

Оплачується при отриманні
The script needs: 1 - Check a folder and verify if the SOURCE file is newer 2 - If the SOURCE file is the same, just send an email. If it is newer, the flow will be: 3 - read the file and extract the numbers from the file. These numbers will build a MYSQL REPLACE command into a pinsets table. The source file has these informations: 0123=000111=BLABLABALABLA=A 0987=233901=TTTTTTTAAA=A 8765=234567=YYYYYAKAA=A I will need a MYSQL STRING like this: REPLACE into pinsets VALUES ('1','000111\n233901\n234567','pinsetname-2','1',''); So, the script needs to analyse the SOURCE FILE, create a MYSQL REPLACE (and run it!), or, if the source file has not change... just send an email. We will discard all other informations about the SOURCE file. The first number sequence, and the text after the second number sequence. I really need the SECOND number sequence. And, in MYSQL REPLACE, the numbers need to have \n between all of them because they will be in the same cell. I want to run this script for all time with one hour intervals (cron), ok!?
ID проекту: 14060257

Про проект

3 пропозицій(-ї)
Дистанційний проект
Активність 7 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
Доручений:
Аватарка користувача
Already have a bash script similar to this, won't take long. I've a lot of experience writing scripts and handling SQL data with them.
$30 USD за 1 день
5,0 (1 відгук)
1,0
1,0
3 фрілансерів(-и) готові виконати цю роботу у середньому за $32 USD
Аватарка користувача
Hi there, I can create the required bash script, please contact for further discussion. Thanks and regards!!!
$30 USD за 1 день
4,8 (16 відгуки(-ів))
3,4
3,4

Про клієнта

Прапор BRAZIL
Mogi das Cruzes, Brazil
5,0
1
Спосіб оплати верифіковано
На сайті з бер. 25, 2017

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.