dq-server - run a command on all tasks in an IPC::DirQueue queue
dq-server --dir qdirectory [--njobs N] command arg arg ...
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.
IPC::DirQueue
The command is run as:
command arg arg ... nameofdatafile
How many jobs to dequeue from the queue directory. 0 means unlimited.
0
IPC::DirQueue(3) dq-deque(1) dq-list(1) dq-server(1) dq-submit(1)
To install IPC::DirQueue, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::DirQueue
CPAN shell
perl -MCPAN -e shell install IPC::DirQueue
For more information on module installation, please visit the detailed CPAN module installation guide.