Persistent PHP Processes
Posted: Wed Aug 07, 2002 1:39 am
Hi Everyone,
Thought I would post up one of the hairier questions that I have about PHP.
Because I could not get a background process to work under windows (ses a few topics down) I have decided to get two PHP scripts to work independantly of each other.
This involves one script writing to a database and the other polling the database at regular intervals for new information. If it finds new informatino, then it needs to process it.
I have created both the *client* and the *server* scripts and they work well together. However, one thing I can see hapening in the future is that the server script will shut down and I will not know that this has happened.
My question is:
Is it possible in Win2K to get a script to run and, if it crashes, start up again?
This should dislodge some grime from that underused PHP knowledge out there.
Thanks for all your help.
:: Kondro ::
Thought I would post up one of the hairier questions that I have about PHP.
Because I could not get a background process to work under windows (ses a few topics down) I have decided to get two PHP scripts to work independantly of each other.
This involves one script writing to a database and the other polling the database at regular intervals for new information. If it finds new informatino, then it needs to process it.
I have created both the *client* and the *server* scripts and they work well together. However, one thing I can see hapening in the future is that the server script will shut down and I will not know that this has happened.
My question is:
Is it possible in Win2K to get a script to run and, if it crashes, start up again?
This should dislodge some grime from that underused PHP knowledge out there.
Thanks for all your help.
:: Kondro ::