Re: Piping into script...
| From: | David Robley | Date: | Wed, 21 Nov 2001 04:50:18 +0000 |
| Subject: | Re: Piping into script... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75350@lists.php.net to get a copy of this message | ||
On Wed, 21 Nov 2001 14:52, Ashley M. Kirchner wrote:
> 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.
That'll be something else burning, then. The DB should be able to handle
that sort of thing just fine. It is what they are supposed to do, after
all :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
A bad day on the bike always beats a good day in the office!