/etc/condor/interactive.sub is in htcondor 8.4.2~dfsg.1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #
# This is the default job submit file used by
# "condor_submit -interactive". Essentially, it runs
# /bin/sleep on the execute node for 3 minutes. The idea
# is to run some job that uses no cpu/memory just just until the ssh
# client connects.
#
universe = vanilla
executable = /bin/sleep
#
# Sleep for 180 seconds (3 minutes), which should be plenty of time for
# the ssh client to connect. If it does not connect before
# the three minutes are up, it likely never will. So in the
# event that the user simply kills the ssh client before the job
# is launched, the job will only consume the slot for three minutes.
#
arguments = 180
#
# Most shells (such as bash) will honor the TMOUT environment variable,
# which tells the shell to exit after TMOUT seconds of inactivity.
# 7200 seconds = 2 hours.
#
environment = "TMOUT=7200"
#
#
transfer_executable = false
copy_to_spool = false
notification = never
priority = 1000
request_memory = 512m
queue
|