Build a simple CSV to MySQL script in PHP

Fertiggestellt Veröffentlicht vor 6 Jahren Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

I have a system that uploads CSV files to a server every hour. the CSV files are in the format:

indicator_<symbol>[login to view URL] (e.g.: [login to view URL])

The contents of each CSV file is:

timestamp, double, double, double

So, 4 columns of CSV information per line.

I want to execute a CRON job that does this:

1) Check to ensure the PHP script isn't already running. If it is, exit

2) Set a flag to indicate the PHP script is running

3) Find all files in the format of indicator_<symbol>[login to view URL]

4) Open each one, read in the CSV data, and populate the <symbol> MySQL table with the data

5) If the <symbol> isn't a table that exits, create that table with the 4 required fields

6) If the timestamp for <symbol> already exists in the table, then skip that line in the CSV file

7) Output a CSV file for each <symbol> in the format of indicator_<symbol>.csv

8) Clear the flag that indicates the PHP script is running

9) Have a basic log file that records each time the script was called, which files were read, which files were written

You'll need:

- good English

- experience with GIT (BitBucket)

- be able to start now, and complete it within 2 days

- be willing to use Freelancer time tracker (with screen shots)

To apply, address the criteria above and add anything else to impress me.

this is a fixed price job - time tracker not required.

MySQL PHP

Projekt-ID: #16026203

Über das Projekt

22 Vorschläge Remote Projekt Aktiv vor 6 Jahren

Vergeben an:

dslc

Either the mysqli or the PDO drivers could be used to interface to the MySQL database. I have addressed most of your points below. Please note: I am based in Ireland, so operate in GMT time (which can be up to 12 ho Mehr

$70 AUD in 2 Tagen
(2 Bewertungen)
3.4

22 Freelancer bieten im Durchschnitt $150 für diesen Job

rinsadsl

Hi there I can create this Cron job to process all the CSV files of the given format, create tables in the database if not exists and add the records to them. I will also make sure to check for a running job so that Mehr

$189 AUD in 3 Tagen
(1199 Bewertungen)
9.4
rajeshsonisl

Hi there, Quick and easy project. My bid is to work with direct access on your server. I'll need FTP + phpMyAdmin access and a few CSV files for testing. Can get started right now and complete in 2 hours flat. Mehr

$122 AUD in 1 Tag
(1032 Bewertungen)
8.9
extreamcode

HI There, I can assist you with "Build a simple CSV to MySQL script in PHP", I have experience working with "similar Development". Let's have a quick chat to discuss it further. I have been in this "Development" fi Mehr

$155 AUD in 3 Tagen
(104 Bewertungen)
7.9
pofilippov

Hello. I am an expert on import / export of CSV data. I know GIT and have BitBucket and GitHub accounts. I have been engaged in web development for over 8 years. I have experience with a lot of web technologies. I hav Mehr

$156 AUD in 4 Tagen
(51 Bewertungen)
7.2
waqas193

Hello, I have read your project requirements and exuberant to work on it. I have extensive 9 years Experience in this kind of projects & I will do the best in class. IT solutions Expertise include .Net, Graphic d Mehr

$266 AUD in 3 Tagen
(52 Bewertungen)
6.8
MrMSparrow

Hello, I am an expert in PHP and creating complete custom solutions. I can complete your CSV to MySQL script within the 2 days specified and according to the specifications provided. The reviews on my profile show the Mehr

$155 AUD in 2 Tagen
(69 Bewertungen)
6.6
jaunty77

Hi there, I am interested in doing this. I have been working recently on a project that did a similar job (a cron php script to scan a directory for csv files and import / update data to mysql tables). I can use fre Mehr

$200 AUD in 2 Tagen
(78 Bewertungen)
6.7
periyannas

Hi, Requirements are clear, have worked as Linux ad,min and written shell, php scripts. Were involved with ETL activities too. Thank you, Regards. Relevant Skills and Experience Php, Mysql, linux

$133 AUD in 2 Tagen
(32 Bewertungen)
5.3
mayankinnovative

A proposal has not yet been provided

$100 AUD in 3 Tagen
(187 Bewertungen)
4.7
jalpizar

Hello, I can quickly create to program to perform the required actions. I'm currently an user of bitbucket and have released several projects using it. The cron configuration will probably require me to have acces Mehr

$111 AUD in 1 Tag
(4 Bewertungen)
3.2
sumitkandwal

Hi I am having 5 years of experience in PHP and more then 8 years of experience in web development. i am interested in your project. just finished my project mtmcglobal.com. i would like to discuss more so kindly drop Mehr

$150 AUD in 3 Tagen
(2 Bewertungen)
1.9
anvitb

Hello I have 5+ years of experience in web development using Php, Codeigniter, bootstrap, mySql, Ajax, jQuery, javascript, CSS, HTML, integration of API with Codeigniter. My solutions enable businesses to leverage lea Mehr

$194 AUD in 3 Tagen
(3 Bewertungen)
1.6
Andreykomar

I have accomplished 90% of the project which is similar of your requirement. All I need 10% customization as per your requirement set and specifications. Thank you.

$155 AUD in 3 Tagen
(0 Bewertungen)
0.0
iscabipescador

Extensive knowledge in developments of php and mysql also i have worked with CRON Jobs in my current job Relevant Skills and Experience I have developed a file with a code to check a database and check some specifics Mehr

$144 AUD in 3 Tagen
(0 Bewertungen)
0.0
aboutvivek

I have experience of working on python for reading/writing data through CSV file and MySQL table. Python script will do the job of reading the data and for the log we can store it in a output file. Please let me kno Mehr

$110 AUD in 3 Tagen
(0 Bewertungen)
0.0
tanbui91

A proposal has not yet been provided

$136 AUD in 5 Tagen
(0 Bewertungen)
0.0