[CentOS] Consecutive Jobs
JohnS
jses27 at gmail.com
Thu Apr 8 12:40:39 UTC 2010
On Thu, 2010-04-08 at 07:34 -0500, Les Mikesell wrote:
> A very long time ago I did some generic job queueing stuff by hooking scripts
> into the unix lpr print spooler which had the advantage that they could be
> submitted from windows boxes through samba by going through the motions of
> printing them, but things have changed quite a bit since then and I don't know
> if that would still be easy. If the commands are always the same or the
> variable parts can be read as a list from a file, a shell loop is probably the
> easiest approach. You can also make a shell script read from a named pipe which
> will wait for something to be written, but you have to be careful about the size
> of the writes if there are concurrent writers to keep them from being interleaved.
---
I thought I was the only one that had that idea.... I guess not. Using
the Spooler.
John
More information about the CentOS
mailing list