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

Re: [HTCondor-users] Limit a particular user to a certain number of jobs



Hi,

I just looked into that the other day and you can use the countevent feature inside the start _expression_, found this in an older post from Todd but did not test it:

START=$START && countMatches(x==User,eval(strcat("{ [x=\"",join("\";], [x=\"",ChildRemoteUser),"\"] }"))) < 2

Best
christoph
--
Christoph Beyer
DESY Hamburg
IT-Department

Notkestr. 85
Building 02b, Room 009
22607 Hamburg

phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx


Von: "Thomas Birkett - STFC UKRI via HTCondor-users" <htcondor-users@xxxxxxxxxxx>
An: "Condor-Users Mail List" <condor-users@xxxxxxxxxxx>
CC: "thomas birkett" <thomas.birkett@xxxxxxxxxx>
Gesendet: Dienstag, 7. Januar 2025 12:23:58
Betreff: [HTCondor-users] Limit a particular user to a certain number of jobs

Hi Condor Community,

 

Hopefully, a simple question that Iâm over thinking and making too complex. Is there a way to limit a particular user to only run a certain number of jobs per startd? If possible Iâd like to avoid restarting the startd for changing this users limit per startd.

 

Many thanks,

 

Thomas Birkett

Senior Systems Administrator

Scientific Computing Department  

Science and Technology Facilities Council (STFC)

Rutherford Appleton Laboratory, Chilton, Didcot 
OX11 0QX

 

signature_609518872

 

 


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe

The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/