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

Re: [HTCondor-users] 1 hour wall time for interactive jobs



Hi Glen,

There is an attribute called "InteractiveJob" that is set to "true" for interactive jobs.  I believe it's undefined otherwise.

So you could use something like this in your config file:

SYSTEM_PERIODIC_REMOVE = (InteractiveJob =?= True) && ( (CurrentTime - QDate) > 3600)


Cheers,
-zach


ïOn 9/30/19, 11:48 AM, "HTCondor-users on behalf of Rundblom, Glen" <htcondor-users-bounces@xxxxxxxxxxx on behalf of rundblom@xxxxxxxxxxxx> wrote:

    
    Hello, 
    
    I am trying to find the best way to implement a 1 hour time limit to only interactive jobs.
    
    
    I read that periodic_remove might be the setting I need to use, but I am not sure how I would tie it to only interactive jobs.
    
    
    
    Thank you for your help,
    -Glen
    
    
    Glen Rundblom
    Linux Systems Support Analyst
    Engineering IT User Services: Research
    College of Engineering
    University of Illinois at Urbana-Champaign
    2312 Siebel Center
    217-244-8203
    rundblom@xxxxxxxxxxxx <https://webmail.illinois.edu/owa/redir.aspx?C=3JkOiIBJy0WnRbc6zvSjyPcoZysGyNEI6ax1nwwG6CJAg31_YqlaqyStt6VonZZpC78hGHj4T2Q.&URL=mailto%3arundblom%40illinois.edu>