[Labs-l] Bots OGE "qcronsub" submission wrapper

Tim Landscheidt tim at tim-landscheidt.de
Thu Mar 14 17:16:08 UTC 2013


"Marc A. Pelletier" <marc at uberbox.org> wrote:

>> The script on the toolserver is copied below.
>> The main thing it does is adding '-hard -l unique' to the arguments

> Ah, that's an interesting way of doing it; you made unique a consumable
> resource users had exactly one of, then?  That allows exactly one cron
> job regardless of the name, am I correct?

> What I had in mind was to use a qstat -xml and parse whether a job with
> the same name already exists (which I would have used for other purposes
> as well).

I don't think that's how it works as then jobs would just be
queued, while qcronsub suppresses them completely if a job
by the same name already exists.  I believe Merlissimo (the
Toolserver SGE admin) patched the source, but I don't see
anything obvious beneath /mnt/user-store/sge.

Tim




More information about the Labs-l mailing list