- From: Brad Knowles <
>
- To:
- Cc: Brad Knowles <
>
- Subject: [chef] Re: Parallel execute resource tasks
- Date: Thu, 16 Feb 2012 09:53:15 -0600
On Feb 15, 2012, at 10:05 PM, Van Fossan,Randy wrote:
>
I have a recipe that has 4 disk tasks that each one takes about 10 minutes.
>
I would like to execute the tasks with an & at the end to fork off the
>
process and run them in parallel. However, I am not sure how to track that
>
all four are complete.
>
>
I suppose, I could loop, test and sleep for a file completed at the end of
>
each task and then continue.
>
>
Has anyone have any better suggestions for handling forked processes and
>
tracking completion?
Doesn't gnu parallel help track this sort of stuff?
--
Brad Knowles
<
>
SAGE Level IV, Chef Level 0.0.1
Archive powered by MHonArc 2.6.16.