For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > March 2006 > Dealing with server timeouts and killed processes









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Dealing with server timeouts and killed processes
varun.sarin@gmail.com

2006-03-24, 7:00 pm

Hello everyone,
I have a small problem that i wish to discuss. I'm not sure if i can
explain it clearly but i'll try and be as specific as possible. The
problem is not with the perl code but with the server that calls this
code.

I am running a script that takes an extremely long time to process,
roughly 12 hours. It involves database access and other types of
computations. If i run this program from the command line, it runs
fine. But when i try creating a form and run it on the browser, it
times out. Is there a way for me to call a script and then let it run
in the background, independent of the time that the server allows for a
script to run? In other words, I want to detach the script from that
server, since that server shouldnt be involved anyway.

Thanks

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com