Joseph L. Casale wrote:
I have been pointed to a ksh script called qjob that implements a fifo queue.
As none of our servers use or have ksh, this presents a bit of a problem as it
also leverages a ksh implementation of a counting semaphore which would take
ages to rewrite.

I figure this is a job for Perl, but before I embark on the task of hacking
something together that can daemonized and accept commands to serialize and
execute, I thought I would ask if such a beast existed already.

That depends on exactly what you are trying to do, how big of a job queue it should be, if there needs to be any feedback (like job status and error messages) and such.

I for myself would go for a database backed system, as this implicitly avoids things like race conditions and file lock issues. But without further information about what you are actually trying to achieve, it's hard to tell...

LG
Rene

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to