Then you just pass the temp file to deadlinecommand.
This worked really well for a series of ffmpeg jobs I submitted. However, I now want to do the same with a Python job. A Python job does require an auxiliary file, which is the actual script you want to run on the nodes. I have been looking in the docs, but I cannot figure out how to do it. When you submit from the command line, you can include auxiliary files in the command.
Just keep on adding the aux. files to the -job lists as you would in a command line…
I just took a Max submission, modified the initialArgsFile.txt to contain two -job entries, and executing deadlineCommand with it submitted both jobs (granted, it is the same job twice, but it will work with any files):