PDA

View Full Version : Perl script stops running when web-browser "times-out", please advise.


innovader
06-27-2000, 04:56 PM
I have written a script that emails every member of my online club with a separate message. There are approx. 1200+ members. After about 180 messages sent, the script stops running. The script runs from a web browser interface, and seems to halt when the web-browser "times-out".
I have already tried to have it print output to the browser as the script progresses to remedy the problem, but that doesn't work, the web browser still "times-out".
I have my own test accounts at various places to make sure the script is running fine, so I know that the program is not continuing after the web browser time-out.
When I run the script from the terminal(telnet), it completes the task, no problem. The server runs Apache/RedHat and PERL5.
What can I do to make the web interface work properly? Is there a "trick" to keep the web page active while the program is executing?

[This message has been edited by innovader (edited 06-27-2000).]

Jason
06-27-2000, 06:18 PM
Do you have telnet access? Maybe you can run your script from there instead.

------------------
Jason M. DesRoches
Co-Founder / Business Development
Big Resources Network
jason@123webmaster.com
ICQ: 17947522

innovader
06-27-2000, 10:01 PM
THe script runs fine from the terminal(telnet), however, the problem is that is does not run completely from the web interface.

Jason
06-27-2000, 10:23 PM
innovader,

Why not just stick to telnet then? When we were on our slower server we had to do the same, and the only cure we found was a faster server.

------------------
Jason M. DesRoches
Co-Founder / Business Development
Big Resources Network
jason@123webmaster.com
ICQ: 17947522