On Thu, Oct 6, 2011 at 11:49 PM, Wim M
<ichels.moabit@gmail.com> wrote:
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
Thanks for suggestions.
actually it's a job submitted on cluster, so be close to the list, so I used the PID here. so not a PID issue
I wish it's running after another job finished. without occupying other nodes at present.
--
Wim.
Archive: [🔎] 4e8dce27$0$6629$9b4e6d93@newsspool2.arcor-online.net" target="_blank">http://lists.debian.org/[🔎] 4e8dce27$0$6629$9b4e6d93@newsspool2.arcor-online.net