nq is a Unix command line queue utility that manages job execution through a simple file-based queueing system.
The tool solves the problem of running jobs sequentially or with controlled concurrency without requiring a heavy daemon or complex setup. It works by storing jobs in a queue directory and executing them in order, with each job represented as a file. The approach is minimal and portable, relying on standard Unix primitives like file locking to coordinate between multiple queue instances.
The tool suits developers and system administrators who need lightweight job scheduling without the overhead of cron, at, or a full job queue system. It works well for simple sequential task execution, build pipelines, or any scenario where you need to serialize work across multiple invocations. The file-based design means queues persist across system restarts and can be inspected directly on the filesystem. It is particularly useful in shell scripts and automation where you want straightforward job ordering without external dependencies.
Development activity shows consistent maintenance with regular bug fixes and incremental improvements to the core queueing logic. The project receives updates that address edge cases and enhance reliability of the file-locking mechanism. Changes are focused and deliberate, targeting specific issues rather than broad feature expansion. The codebase remains stable and well-tested, with attention paid to ensuring correct behavior under concurrent access patterns.