News for hackers. Stuff that matters.
Re:Unix command line queue utility by justin_vanw on Wednesday August 26, 2015 @10:21PM (#10127179)

   $ mkfifo ~/.jobqueue
   $ parallel :::: ~/.jobqueue
now, from another terminal:

   echo ls > ~/.jobqueue
Tada!

for a remote job queue, use nc instead of a fifo

for a job queue with a buffer, use a file, and run $ parallel :::: <(tail -f thefile) you can even truncate the file from time to time.

Of course, this doesn't capture the context you are in, such as your current directory or the value of shell variables.

Re:Unix command line queue utility by kovek on Thursday August 27, 2015 @01:50AM (#10127743)
Here is an alternative:

  tty1$ mkfifo /tmp/jobqueue
  tty1$ eval $(tail -n 1 /tmp/jobqueue)
And then, in another terminal:

  tty2$ echo ls > /tmp/jobqueue
Re:Unix command line queue utility by giis on Thursday August 27, 2015 @12:33AM (#10127558)
What's 'parallel'? Is it a *nix command? Looks like its not available on Fedora box
Re:Unix command line queue utility by teraflop on Thursday August 27, 2015 @12:52AM (#10127608)
Yes, it's a GNU tool. Try "yum install parallel".

http://www.gnu.org/software/parallel/