Hi guys,
Does anyone working with deadline through command prompt without opening its GUI?
I wondering where could I get those commands help to use in my project.
thanks for your time,
regards,
Prasad.
Hi guys,
Does anyone working with deadline through command prompt without opening its GUI?
I wondering where could I get those commands help to use in my project.
thanks for your time,
regards,
Prasad.
Hi Prasad,
The documentation for deadlinecommand can be found here:
thinkboxsoftware.com/deadline-command/
You can also run “deadlinecommand -help” from a command prompt to get the usage instructions.
For job submission from the command line, see this:
thinkboxsoftware.com/job-sub … o_Deadline
Cheers,
HI Ryan,
I gone through the meterial and tested command line job submission and ended with couple of exception errors.
I am uploading my files that I used to run in command line based rendering. Can anyone have a look at it and tell me where I am going wrong?
I am getting errors as in attached file folder.
Please help where I am going wrong in giving RenderExecutable()
many thanks,
_prasad
files.rar (1.77 KB)
Hi Prasad,
Because there is already a Terragen plugin, you should submit to that instead of submitting a generic command line job. You should be able to submit the job simply by running this command:
deadlinecommand.exe "C:\Users\Prasad\Desktop\Command Test\Terragen_job_info.job" "C:\Users\Prasad\Desktop\Command Test\Terragen_plugin_info.job
Cheers,
Hi Ryan,
I am getting the following error
13th line should be
but its guiding to deadline exe file??
any idea where I need to change the arguments??
thanks,
-Prasad
Hi Prasad,
It looks like this job is still going to the CommandScript plugin. Here is the full procedure to submit this job to Deadline properly:
Plugin=Terragen
Name=Terragen Test
Comment=
Department=
Pool=none
Group=none
Priority=100
TaskTimeoutMinutes=0
EnableAutoTimeout=False
ConcurrentTasks=1
LimitConcurrentTasksToNumberOfCpus=True
MachineLimit=0
Whitelist=
LimitGroups=
JobDependencies=
OnJobComplete=Nothing
InitialStatus=Suspended
OutputDirectory0=C:\Users\Prasad\Desktop
Frames=1
ChunkSize=1
ProjectFile=C:\Users\Prasad\Desktop\image30000.tgd
RenderNode=
OutputFile=C:\Users\Prasad\Desktop\2.bmp
ExtraOutputFile=
LocalRendering=True
deadlinecommand.exe "C:\temp\Terragen_job_info.job" "C:\temp\Terragen_plugin_info.job
Note that this is pretty much what the Terragen submission script in the Monitor is doing.
Cheers,
Thanks Ryan,
I just came home. First thing in the next morning I will test this and give you feedback.
Many thanks for your quick replies…
regards,
Prasad.
Hi Ryan,
I posted a reply lastnight and today it disappeard!! maybe it might have lost while shifting old forums to thinkboxsoftware forums.
Anyway, here is what I am looking for…
I tried again and again of submiting terragen jobs into deadline thru command prompt and found the same old errors as above.
I guess, what I had *.job files are in incorrect format, will it be possible to find and sent the correct format *.job files which I can simply attach them thru command line and run smoothly?
I am asking files directly cause, I tried alot in changing names in job files but nothing seems to work. Before I confirm to my college for buying more nodes, I need to fix this first.
Please help!!
-Prasad
Hi Prasad,
I’ve zipped up an attached the job files here. I tested submitting them and they worked fine. Just to make sure there isn’t something wrong with the Terragen plugin (due to a corrupt install or something), are you able to submit Terragen jobs from the submission menu in the Monitor without this problem?
Cheers,
Hi Ryan,
Yeah these files are working. Many thanks.
But, when I submit the job through command line, its going in suspended mode which I need to open monitor and resume it to work.
Any idea how can I submit the job directly to work??
regards,
Prasad.
Hi Prasad,
Glad to hear it’s working. To prevent the job from being suspended after submission, just remove this line from Terragen_job_info.job:
InitialStatus=Suspended
Cheers,