Close, but not quite right
First off, you’re using the wrong command for this; SubmitCommandLineJob is only for submitting jobs to our CommandLine plugin (which just runs simple commands on the slaves). It can definitely be a bit misleading, and we might have to rename it to avoid confusion; you’re definitely not the first one to make this mistake.
In order to submit Jobs from the command line, you actually need to build up two .job files (which are pretty much just .ini files in disguise). The first one will be for generic Deadline Job settings (like plugin name, pool, group, priority, etc) – for a comprehensive list of all available settings in this first file, see our documentation here: thinkboxsoftware.com/deadlin … o_Deadline.
The second .job file you want to build up is for the plugin-specific settings. In your case, it’ll be Nuke-specific stuff. This is less well documented, since it’s going to vary from plugin to plugin, but it’s going to be stuff like path to scene file (nuke script), whether to use 32-bit or 64-bit, batch mode, or any special one-off options we may have for that particular Plugin. As an example, I just did a Nuke submission through the Deadline Monitor, and here are the values that were in the Plugin Info file for Nuke:
SceneFile=C:\Users\johngaudet\TestData\testnuk2.nk
Version=6.2
Build=None
Threads=0
RamUse=0
NukeX=True
BatchMode=True
ContinueOnError=True
Looking at the .job files the Monitor creates on submission is, I find, an easy way to get good boilerplate submission files, or just to help you out when you’re starting to look at command line submission. They will generally appear in %LOCALAPPDATA%\Thinkbox\Deadline\temp on Windows 7, if you’re running on a Mac, Linux box or XP I’d have to dig up our temp path for that, since I don’t know it off the top of my head. Anyways, the temp files you’d be looking for after you’ve done a test Nuke submission through the monitor are “nuke_job_info.job” and “nuke_plugin_info.job”. These are just plain text, and should give you a good idea of what your files should look like
Now, once you’ve built up both your Job info file and your Plugin info file, the submission command itself is actually super simple:
deadlinecommand "C:\path\to\job_info_file.job" "C:\path\to\plugin_info_file.job"
And that’s it!
Let me know if you have any questions, or if you are unclear on any of the stuff I just described.
Cheers,