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

Re: a quick Q: how to start run a job after another job finished



On 2011-10-06, lina <lina.lastname@gmail.com> wrote:
> --20cf30050de6d7dc3504aea2c131
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> I really hesitated for a while to ask this question here.
>
> actually except here, I don't know where else to ask, so forgive me if it's
> a bit off-list.
>
> I want it to run a job after checking another job finished or not.
>
Hi,
why not just do:
    job1 && job2
job2 will only execute if job1 completes successfully.
For example:
    sleep 5 && ls
-- 
Wim.


Reply to: