[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Parallel input from growing file?
From: |
xmoon 2000 |
Subject: |
Parallel input from growing file? |
Date: |
Sun, 14 Dec 2014 11:01:12 +0000 |
Hi,
Currently I read jobs from a file on my c drive that gets written to
by other scripts, and my master script runs each job found in
background with &. I want to use parallel instead of my own script.
I would like parallel to monitor this file and run any jobs in it with
as many cores as are available, or wait until new jobs are appended to
the file. Running 24/7.
What is the syntax for doing this?
My jobFile looks like this:
/myApp prm1 parm2 parm2
/myApp parm1 parm2
/myApp parm1 parm2 parm3 parm4
I could do:
tail -f jobFile | parallel
Is this the best approach?
- Parallel input from growing file?,
xmoon 2000 <=