13 ms·
Taskspooler provides similar service. Install and submit tasks from command-line. You can choose how many tasks run in parallel. http://manpages.ubuntu.com/man
by jpalomaki 6y ago
Taskspooler provides similar service. Install and submit tasks from command-line. You can choose how many tasks run in parallel.
http://manpages.ubuntu.com/manpages/xenial/man1/tsp.1.html http://manpages.ubuntu.com/manpages/xenial/man1/tsp.1.html
- garettmd 6y agoThis. Taskspooler is a powerful but simple tool that seems to be fairly unknown.
- xaduha 6y agoI knew about it, but years go by and I can't honestly say that I ever needed it.
- curun1r 6y agoAlso Pueue (https://github.com/Nukesor/pueue https://github.com/Nukesor/pueue)
- dimatura 6y agoI second the recommendation for task spooler, which seems to cover similar ground to nq. It's a really nice way to queue simple long-running tasks without having to write code or set up infrastructure.
- krylon 6y agoHeh, I use ts(1) on a fairly regular basis. It is a very nice tool, and it even supports multiple job queues via environment variables.
- holmb 6y agoI wrote an answer on Super User [0] on how to use this neat tool. There are use cases where it really comes in handy. For example when copying a lot of files around to various folders that sits on the same disk so that you can assume that it won't run efficiently in parallel. When I think of it even lftp has queue and jobs commands. But "task spooler" is the generic tool you can use for more general use cases than file copying. 0. https://superuser.com/questions/220364/how-to-run-commands-as-in-a-queue/554734#554734 https://superuser.com/questions/220364/how-to-run-commands-a...
- antb123 6y agoGreat little tool. Sends error on fails.. Just wish it had chaining of commands.