JOB_DEFAULT_LEASE_DURATION was added in the 8.7 development series, so it works in 8.8 but not in 8.6. In 8.6 the default is hard-coded to 40*60 In 8.6 you could use a JOB_TRANSFORM to override the JobLeaseDuration of jobs as they are submitted,
but you would have no way to know if the user explicitly set the value to 2400 in the submit file.
-tj From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx>
On Behalf Of Jin Mao Interesting, I added JOB_DEFAULT_LEASE_DURATION=150 to submit host. $ condor_config_val -v JOB_DEFAULT_LEASE_DURATION JOB_DEFAULT_LEASE_DURATION = 150 # at: /etc/condor/config.d/condor_config.local, line 11 # raw: JOB_DEFAULT_LEASE_DURATION = 150 Then I submitted a job which basically sleep for 1 hour. The job classad still shows 2400. $ condor_q 2.0 -af JobLeaseDuration 2400 Only if I specify job_lease_duration in submit file, JobLeaseDuration is desired value. Did I miss something? Again, this is 8.6.13. Thanks. Jin. |