Run application on OOD head node when job starts

I see.

Maybe – with some careful scripting – you could use bin_overrides to create a wrapper script for the Slurm commands that will submit the job and then run your custom proxy. See:

That could, in theory, get you the right behavior when cancelling a job. You’d still need to figure something out to kill your custom proxy if the application exits or the job times out…