[torquedev] Re: [torqueusers] recurring jobs and duplicate submission

Glen Beane glen.beane at gmail.com
Tue Feb 6 05:19:10 MST 2007


On 2/6/07, Åke Sandgren <ake.sandgren at hpc2n.umu.se> wrote:
> On Mon, 2007-02-05 at 20:28 -0500, Glen Beane wrote:
> > On 2/5/07, Brian Harrington <brh at yahoo-inc.com> wrote:
> > > I have two questions about torque:
> > >
> > > 1. Is there a way to setup recurring jobs, i.e. a job that is rerun at
> > > some interval?
> >
> > could you accomplish this with a cron job?
> >
> > > 2. Is there a way to assign a unique ID to a job (other than the job ID)
> > > so that torque can detect that some job has already be submitted and
> > > automatically ignore the duplicate submissions?
> >
> > this would be trivial to implement:
> >
> > I could add a new optional job attribute that takes a string
> > parameter.  If this is set for at job submission time, pbs_server
> > would check to make sure no other jobs that have that attribute set
> > have the same value. If another job with this value is found, then
> > pbs_server would reject the job submission and qsub would print an
> > appropriate error.
>
> This would have to be limited per user/group/account in some way.
>
> --
> Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
> Internet: ake at hpc2n.umu.se   Phone: +46 90 7866134 Fax: +46 90 7866126
> Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se

it could easily be limited to per user.

Is this something we shouldl add?


More information about the torquedev mailing list