note 40152 deleted from ref.exec by tomsommer
| From: | tomsommer@php.net | Date: | Sun, 31 Oct 2004 12:59:12 +0000 |
| Subject: | note 40152 deleted from ref.exec by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79394@lists.php.net to get a copy of this message | ||
Note Submitter: peter lundberg
----
These functions for spawning background processes must be seen as a last resort. They are messy,
platform dependent, hard to debug and its hopeless to track what has happened.
However, I have often found a need to use functions like these. Almost always it has been easier to
write what I would like to have done and with which parameters to a table.
Then have whatever process check the table at regular intervals (every 10 secs) and perform the
wanted tasks.
This sounds like lots of job, but its almost always easier to test and You can use the table for
logging.
regards
/peter