via https://carleton.ca/rcs/rcdc/background-queue-of-jobs/
brew install task-spooler
Command | Purpose |
---|---|
ts |
List Jobs (no arguments) |
ts -c <job-id> |
Show/Stream log for the job-id. CTRL+C to "exit" from log streaming. |
ts -i <job-id> |
Meta info about the job-id |
ts -C |
Cleanup finished job |
ts -r <job-id> |
Remove a job from queue |
ts -k <job-id> |
Kill a job from queue |
ts -S 4 |
Set number of job that can run in parallel to 4. |
ts -h |
Show help |