Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Find and Replace script

by misc (Pilgrim)
on Aug 19, 2007 at 13:33 UTC ( #633608=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Find and Replace script
in thread Find and Replace script

I'm not getting a picture..
A limit of the execution time makes no sense to me..?

If you've to deal with the browser timeout (I didn't formulate my question exact enough) I could think of a script which runs as a server, independent of the web server.
You could start|control|stop the replace script through the web interface.

I'd also say that you've more control over the separated replace script this way,
the replace script could be restarted by a cron script if it's killed,
oy you are able to run the script as another user as the web server/ with an other priority.

[find and replace script]<--IPC-->[webserver cgi sript]

The web interface could even update the progress and results through some javascript (ajax)

This is at least how I would do this.

beside this, storing the progress of the traversal in a filelist file seems like a good idea to me.


Comment on Re^3: Find and Replace script

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://633608]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2015-07-28 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls