rethaew has asked for the wisdom of the Perl Monks concerning the following question:
Remote web server with script startrunning.pl runs:use LWP::Simple; get "http://remoteserver.com/startrunning.pl";
I want to start the startrunning.pl script on the remote web server, but I can't have the local script that made the original http call waiting for the remote server to finish. I just need to trigger the startrunning.pl scrip and then drop the http connection. I hope this make sense and I hope there is a solution. Thank you.print "Content-type: text/html\n\n"; print "ok"; #need to kill the http connection here #start doing lots of things that are time consuming blah1(); blah2(); ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Trigger perl scrip remotely using http
by ikegami (Patriarch) on Mar 25, 2009 at 20:19 UTC | |
by saberworks (Curate) on Mar 25, 2009 at 21:21 UTC | |
by rethaew (Sexton) on Mar 25, 2009 at 23:20 UTC |