[torquedev] Auto delete job when another finishes

Gareth.Williams at csiro.au Gareth.Williams at csiro.au
Tue Sep 21 16:23:01 MDT 2010

> -----Original Message-----
> From: torquedev-bounces at supercluster.org [mailto:torquedev-
> bounces at supercluster.org] On Behalf Of "Mgr. Šimon Tóth"
> Sent: Wednesday, 22 September 2010 12:22 AM
> To: Torque Dev. Mailing List
> Subject: [torquedev] Auto delete job when another finishes
> I have been facing a dilemma how to best approach this problem.
> I have two related jobs, one is an outer jobs (builds a virtual machine)
> one is an inner job (runs in the virtual machine). I want to delete
> outer job as soon as the inner is completed. I was thinking about adding
> a special job dependency for this.
> What do you think?
> --
> Mgr. Šimon Tóth

Interesting thought.

Why can't you just (find and) delete the outer job as the last command in the inner job?

Also, why have separate jobs at all?  Why not just build the VM and start work in it in the same job?

Off-hand I don't think that adding a feature to allow a special dependency for this is a good idea.

-- Gareth

More information about the torquedev mailing list