Script/Process Queuing
David Cary Hart
Fedora at TQMcube.com
Wed Jul 12 20:30:20 UTC 2006
On Wed, 12 Jul 2006 13:23:22 -0700 (PDT), Tom Spec
<samag70-ignore at yahoo.ca> opined:
> Something like this?
>
> while lock != ok
> do
> if /tmp/script.lock exists
> sleep 60
> else
> lock=ok
> done
>
> create /tmp/script.lock
> execute script
> remove /tmp/script.lock
>
I tried something like that with an environment variable. That works
with two requests but the problem occurs with 20 to 30
virtually simultaneous requests. So far the only thing that works is
to use a similar approach with #at but that seems terribly
inelegant.
--
Do NOT Send Email to <spam trap> Fedora at TQMcube,com
Our DNSRBL - Eliminate Spam at The Source: http://www.TQMcube.com
Don't Subsidize Criminals: http://boulderpledge.org
More information about the fedora-list
mailing list