ionelica has asked for the wisdom of the Perl Monks concerning the following question:
Hello perl monks,
I'm searching and searching for a solution to this problem but I have a feeling that I'm not searching in the right direction.
Context: Windows XP/wamp
In a web page, I'm launching a series of scripts. Before launching the scripts, there is a variable "waiting time", typically 10 hours.
The problem is that even before the end of the waiting time, the web server quits with a timeout: (70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read()
I tried to do the following:
my $procLaunchAnalyze = Proc::Background->new("c:/strawberry/perl/bin/perl.exe scripts/example.pl $my_seconds");In example.pl, I have the following sleep:
#wait the desired number of seconds sleep $my_seconds;
Is there any way I can perform this without encountering the timeout?
Thanks a lot for your help,
I.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Executing long perl scripts (>2h) in a browser
by Anonymous Monk on Jun 28, 2011 at 10:43 UTC | |
by Anonymous Monk on Jun 28, 2011 at 10:44 UTC | |
|
Re: Executing long perl scripts (>2h) in a browser
by jpl (Monk) on Jun 28, 2011 at 17:53 UTC | |
by jpl (Monk) on Jun 29, 2011 at 10:45 UTC | |
by ionelica (Initiate) on Jun 30, 2011 at 13:55 UTC | |
|
Re: Executing long perl scripts (>2h) in a browser
by locked_user sundialsvc4 (Abbot) on Jun 28, 2011 at 14:04 UTC |