DQ-SERVER(1)

πŸ“¦
version 1.0 Β· 2 versions
, in fedora 43

πŸ’– DQ-SERVER(1) πŸ’–

ok so this is a User Contributed Perl Documentation page, bestie β€” it lives in section 1 of the manual, and it's literally about making a whole queue of tasks go brrr without you lifting a finger 🫢


✨ NAME ✨

dq-server β€” run a command on all tasks in an IPC::DirQueue queue πŸ‘‘


🌸 SYNOPSIS 🌸

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

that's it, that's the whole vibe check πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

ok so picture this: you've got an IPC::DirQueue directory, right? and it's got tasks in it. dq-server will remove each task in turn from that directory, running the named command on each one. one at a time, in turn, no skipping, no cap πŸŽ€

and the way it does that is, it runs the command like:

command arg arg ... nameofdatafile

so your command gets its own arg arg ... and then the name of the data file gets tacked on at the end. that's the whole handoff. iconic. ✨

once the queue is empty? it doesn't just dip. it waits indefinitely for more tasks to arrive 🫢 like a loyal bestie holding your spot in line fr fr. so it just hangs out, ready, waiting for the next task to show up.

and if you don't wanna be there forever β€” maybe you only want it to chew through a certain number of jobs β€” you can put a limit on how many jobs it dequeues using --njobs. lowkey the most useful thing here. πŸ”₯


πŸ’… OPTIONS πŸ’…

  • --njobs N (default: 0) β€” how many jobs to dequeue from the queue directory. and 0 means unlimited ⭐ so if you leave it at the default, it's gonna keep going forever, periodt.

🌈 SEE ALSO 🌈

(yes, dq-server(1) is listed in its own SEE ALSO. self-love, honestly? we stan. πŸ’œ)


k byeeee πŸ’– this page is from perl v5.42.0, dated 2025-07-25 β€” so if you're reading this way later, go check if anything changed, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from