[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Job queing
From: |
Mårten Segerkvist |
Subject: |
Job queing |
Date: |
Sat, 19 Aug 2006 13:15:45 +0200 |
User-agent: |
Thunderbird 1.5.0.4 (X11/20060728) |
Don't know if this is the right place for this sort of thing, but is it
somehow possible to do some sort of consecutive job processin in bash,
i. e. being able to split a one-liner like:
command1 && command2 && command3
into several, separate command lines:
command1 &
%1 && command2 &
%2 && command3
(where the second command line awaits the execution of the first etc.)
Alternatively, would it be possible to write a queing-function (working
similar as the printer queue) that works something like:
q command1
q command2
q command3
and then have bash execute the different jobs consecutive to each other?
- Job queing,
Mårten Segerkvist <=