Justin Mason > IPC-DirQueue > dq-server

Download:
IPC-DirQueue-1.0.tar.gz

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source  

NAME ^

dq-server - run a command on all tasks in an IPC::DirQueue queue

SYNOPSIS ^

dq-server --dir qdirectory [--njobs N] command arg arg ...

DESCRIPTION ^

dq-server will remove each task in turn from an IPC::DirQueue directory, running the named command on each one. Once the queue is empty, it will wait indefinitely for more tasks to arrive. A limit on how many jobs to dequeue can be specified using --njobs.

The command is run as:

    command arg arg ... nameofdatafile

OPTIONS ^

--njobs N (default: 0)

How many jobs to dequeue from the queue directory. 0 means unlimited.

SEE ALSO ^

IPC::DirQueue(3) dq-deque(1) dq-list(1) dq-server(1) dq-submit(1)

syntax highlighting: