Hacker News new | ask | show | jobs
by green-orca 1029 days ago
I'm using task spooler a lot for parallel background processing. What I like the most it the ability to add further tasks to the queue after processing has already started.

https://manpages.ubuntu.com/manpages/xenial/man1/tsp.1.html

3 comments

Never knew about this, thanks! I'll definitely try it because `parallel` has bitten me before in a few more advanced cases. It has rough edges here and there.
Wow this tool is fantastic, thank you! The UI is very nice and simple. How has this not existed in Unix for 30+ years?

https://github.com/justanhduc/task-spooler

from that man page, there is a name clash with "ts" from moreutils
I installed task-spooler just now, because I’ve been wanting something like this for a long time.

It looks like the actual name of the task-spooler command on Debian after install is “tsp”, not “ts”. So no collision :)

Now it just remains to be seen if the package by default allows the tasks to continue to run after I log out, or if systemd will annoyingly kill the tasks after I disconnect from ssh the same way systemd annoyingly kills my “screen” sessions when I disconnect ssh, and there is some cumbersome thing you have to do on each of your systems to have systemd not kill “screen” :(

Some distros rename the binary to 'tsp' (I think Debian does that)
I really want there to be a database-backed version for larger tasks called tbsp.
moreutils also clashes with parallel, does it not? i remember installing some package for chronic and thus breaking GNU parallel, at least back in the late 2010s.
yes it does, good point