nq

Unix command-line queue utility for managing job queues

brewmacoslinux
Try with needOr install directly
Source

About

Unix command-line queue utility

Commands

nq

Examples

Queue a simple command to run sequentially$ nq sleep 10
Queue a command and check the queue status$ nq long_running_task && nq -l
Queue multiple commands that will execute one after another$ nq echo 'first' && nq echo 'second' && nq echo 'third'