zaro Posted January 31, 2008 Share Posted January 31, 2008 The script in question will crawl through a directory and grabs 2 matching files that are in each directory(still working on this part). By matching files I mean, test.dat and test.csv, once it has these files it preforms some actions on the .dat taken from the .csv file and outputs a new updated .dat file. It works perfectly for 1 set of matching files, I have to copy in the 2 file names each day and run the script anywhere from 1 to 30 times depending on how many data files were added. Now my questions are whats the best way to execute this script with variable file names 30 times, the data files have roughly 30k lines of data each which is reprocessed before be exported. My thoughts were to created a multithreaded script and just pass each set of file names, I'm on windows box and php doesn't preform mutlithreaded well on windows. I'm thinking that running the script back to back in a loop structure would take to long. -Zaro Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.