1. Domů
  2. Dokumentace
  3. Documentation for HTCondo...
  4. Job Restrictions and Reso...
  5. Job Execution Time

Job Execution Time

Default limit: 20 minutes

It is necessary to add MaxRuntime into a job_submission_file for jobs with execution time longer than default 20 minutes limit, e.g. for one hour job

+MaxRuntime = 3600

Jobs that exceed MaxRuntime will be killed by batch system. You can change execution time limit for jobs that are not running

# change maximum execution time for one job
condor_qedit ClusterId.ProcId MaxRuntime=86400

# change maximum execution time for all "user" jobs
condor_qedit -constraint 'Owner =?= "user"' MaxRuntime=86400