If you want to force encryption on the submit, then you would instead add that as a submit transform in the schedd.
Add something like this to the configuration of the schedd
JOB_TRANFORM_NAMES = $(JOB_TRANFORM_NAMES) EncryptJOB_TRANSFORM_Encrypt @=endSET EncryptExecuteDirectory = true# optionally also force match to nodes that can encrypt. (not all Linux nodes can encrypt)SET Requirements = ( $(MY.Requirements) ) && TARGET.HasEncryptExecuteDirectory@end
This will override the value of the Job's attribute at submit time.