Shopping Cart Order Export Enhancement

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
We have Opencart Shopping Cart system and use a custom ORDER EXPORT program. We need an enhancement to the ORDER EXPORT program: The program adds orders to a orders.csv file.

1. Right now the program writes the orders to orders.csv. Edit it to write the orders to orders-holder.csv and also write the orders to orders-backup.csv as well, which we can clear manually as it grows.
2. To prevent concurrent writing to a file and the file getting corrupted, we need a file locking mechanism. i.e. if orders-holder.csv file is opened for writing, then if an order comes from another browser, then lock the file (orders-holder.csv), till the first write operation is completed, then unlock it for the second process.
3. Set cron job once an hour 50 minute) Lock orders-holder.csv file and copy (NOT append) orders-holder.csv to orders.csv. Clear out orders-holder.csv and unlock

Skills required:
AJAX, Javascript, jQuery / Prototype, MySQL, PHP
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 80
in 1 days
Hire sdpteamsl
$ 250
in 4 days
$ 210
in 5 days
$ 150
in 1 days
$ 220
in 10 days
$ 160
in 6 days
Hire Ratsclip
$ 150
in 3 days
$ 200
in 7 days
Hire scholar323
$ 200
in 2 days
$ 120
in 1 days