I see there's lots of activity on these boards, so I hope someone has an answer for this one.
I have a large file system that I'm trying to backup. for simplicity let's say 20k files in 2k folders.
I'd like to run a cron job to execute my php script that runs through this folder.
The problem is that this script takes forever and a day to execute because it has to wait for connections to the other server via FTP.
I'd like to be able to break this up and have the 1 cron job break up the folders into multiple ftp connections as the server can handle multiple connections at once.
I tried to embed an http request in the php script the cron is calling, but it ignores it. I assume this is because javascript is a client side language. This is the only way I can think of right now to essentially have the one script start a bunch of simultaneous connections.
Does anyone have any suggestions?
Thanks in advance