Automating text file combination

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
differentfish
Forum Newbie
Posts: 1
Joined: Mon Nov 04, 2002 11:29 am

Automating text file combination

Post by differentfish »

I have a number of files (txt/csv) I need to automatically combine (into 1 csv file) every hour. Can anybody recommend the best way of doing this?

Many thanks in advance.
mindmeddler2002
Forum Newbie
Posts: 21
Joined: Mon Nov 04, 2002 3:09 pm
Location: US, PA, Harrisuburg

Combine them....

Post by mindmeddler2002 »

Suggestion...


This is a bit simple...
Use meta tags to update a page ever hour...

Since meta tags are in secounds that would be 3600 secounds, I think or 36000.

You do that math, i am tired.

Anyways, then keep the page open in a browser, everytime the page is loaded, have it run a block of code that does what u need.

This is if time is the problem...

Also some servers, let you set automated scripts to run.

If the timeing is not the problem.

Then I can't really help, its been to long, i am out of the loop....

One problem with the meta tag soulotion... I dont think it will even start counting down untill the block of code is finished... Not sure though...
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

search this board for "cron"
Post Reply