Deadlinecommand - please convert GUI to command line

I’ve been Googling all over, and can’t get anywhere. Can someone smarter than me please convert this into a linux-compatible deadlinecommand command for me?

You are looking for an option to submit a job to Deadline manually. Here is a documentation you can follow on Manual Job Submission.

Answering my own question. Here’s the basic formatting for getting this to work.

deadlinecommand -SubmitCommandLineJob -Executable "/home/YOURUSERNAME/mambaforge/envs/py38/bin/python" -Arguments "/path/to/file.py arg1 arg 2" -Name "DefaultJobName"

This is the path to the Python executable I’m using: /home/YOURUSERNAME/mambaforge/envs/py38/bin/python
You can change this to the default Python executable, or whatever you want.

Arguments:
The first argument is the .py file. I needed to pass in additional args, the name of the footage I’m processing. You can call that in your .py with…

variable = sys.argv[1]

Hopefully this is clearer than the documentation. I’m not a programmer, so I had to bang my head against this for a while until I figured it out. Good luck!

Just expanding on this for anyone else, your workflow works only if you’re going to be running a Command Line job, not not for any other application plugin. So for anyone in the future looking for other plugins this is for you!

For those, you can submit your ideal job using the GUI. Then double-click the job in the Monitor and go to ‘Submission Params’. This shows the two files that make up a job. It’s also got an ‘export’ button to dump those into files for you.

From there you can make use of the Manual Job Submission docs Karpreet linked above to customize the files before submitting them with:

"%deadline_path%"\deadlinecommand filename.jobinfo filename.plugininfo

The tricky bit is figuring out which plugin setting does what, and that’s where using the GUI submitter to make the job first helps out.