parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spawning jobs in a staggered start?


From: John
Subject: Re: Spawning jobs in a staggered start?
Date: Sat, 24 Nov 2012 12:36:13 -0800 (PST)

> Is there a way to have parallel spawn jobs on a delayed start with 1 sec 
> delay 

> between each one?
> 
> In other words, invoke parallel:
> 
> job1
> sleep 1s && job2
> sleep 1s && job3
> sleep 1s && job4
> ...
> sleep 1s && jobN
> 
> I am calling parallel from a table if that matters:
> % parallel -a jobsfile --colsep ',' | ~/bin/myscript


I did find this in the man page but I am confused how I would apply it to my 
table to process.

% parallel sleep {}\; echo {} ::: 1 2 3 4


My table contains args that will be fed into a script expecting them to come as 
$1 and $2 tokens.

Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]