Re: Piping into script...
| From: | Ashley M. Kirchner | Date: | Wed, 21 Nov 2001 04:22:01 +0000 |
| Subject: | Re: Piping into script... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75349@lists.php.net to get a copy of this message | ||
David Robley wrote:
> The OS will take care of this by firing up another instance of
> your script. All you need to do is be aware of the possibility of
> multiple instances doing ?things? at around the same time and make sure
> that you don't have say several instances all writing to the same file at
> the same time - use locking where it is not provided by the tool you are
> using.
About the only worry I have there is the interaction with the database
itself. If two scripts start accessing the db for writing at the same time,
I can smell trouble, yes.
--
H | "Life is the art of drawing without an eraser." - John Gardner
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley@pcraft.com> .
303.442.6410 x130
Director of Internet Operations / SysAdmin . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6
http://www.pcraft.com ..... . . . Boulder, CO 80303,
U.S.A.