Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: batch jobs windows php
04-16-2004, 08:38 PM #1
- Join Date
- Apr 2004
- Thanked 0 Times in 0 Posts
batch jobs windows php
I need advise on how to solve this particular problem on a windows/Apache/php 4.3.2 installation.
My App posts data using HTTP post to a number of servers (ranging from 1 to 500). A user fills a HTML form that should trigger some batch job. This batch job will post data to these servers and produce a result.
So i started out with php. Here are my questions
1. How can i run a batch job in the back ground and immediately return to the user after they have filled the form. I used shell_exec but the script never returns until the batch job is complete. I also face numerous default script time out problems. Ideally i would like to return to the user immediately and then start the batch job in the background and produce a result that the user can come and view later
2. I used curl to post date to these servers. What are your recommendation on this library. I haven't tested it with large no of servers. Can curl handle it.
04-17-2004, 05:34 AM #2
- Join Date
- Jun 2002
- Sydney, Australia
- Thanked 1 Time in 1 Post
Perhaps there is a module for this, try google ..
Omnis mico antequam dominus Spookster!