submit command script ??

if in dos command i can type command like this:
>z:
>cd z:\massive_proj
>renderdl .\Rib\color0001.rib
>renderdl .\Rib\color0002.rib
>renderdl .\Rib\color0003.rib
>renderdl .\Rib\color0004.rib

or a simple way running a ‘bat’ file in the “z:\massive_proj” floder like this:
renderdl .\Rib\color0001.rib
renderdl .\Rib\color0002.rib
renderdl .\Rib\color0003.rib
renderdl .\Rib\color0004.rib
renderdl .\Rib\color0005.rib

renderdl .\Rib\color0500.rib

can i submit this 'bat 'command in deadline’s command script?

the problem is what’s the difference between the ‘bat’ script and the deadline command?
and how can deadline run command in every slave machine’s local direction(“z:\massive_proj”)

thank you all

Have you tried entering the following in the Command Script submission dialog…

c:\full\path\to\renderdl.exe .\Rib\color0001.rib
c:\full\path\to\renderdl.exe .\Rib\color0002.rib
c:\full\path\to\renderdl.exe .\Rib\color0003.rib
c:\full\path\to\renderdl.exe .\Rib\color0004.rib
...

…and then setting the following in the startup directory:

z:\massive_proj

Because you’re setting the startup directory to z:\massive_proj, it should be the same as changing the directory to z:\massive_proj and then running the renderdl commands like you did in a dos command prompt.

Cheers,

  • Ryan

oh thank you ,but will you tell me how to fix tis problem ?

[code]<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Constructor: CommandScript
0: Task timeout is disabled.
0: Loaded job: Untitled (999_050_999_6301478f)
0: INFO: StartJob: initializing script plugin CommandScript
0: INFO: About: Command Script support for Deadline, 2008-04-22
0: Plugin rendering frame(s): 0
WARNING: an error occured while trying read stdout from the process: 无法访问已关闭的文件。 (System.ObjectDisposedException)
WARNING: an error occured while trying read stdout from the process: 无法访问已关闭的文件。 (System.ObjectDisposedException)
0: INFO: Checking line:“C:\Program Files\3Delight\bin\renderdl.exe” .\Rib\spec0001.rib
0: INFO: RenderExe found: C:\Program Files\3Delight\bin\renderdl.exe
0: INFO: RenderArg found: .\Rib\spec0001.rib
0: INFO: Stdout Handling Enabled: False
0: INFO: Popup Handling Enabled: False
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Render Executable: “C:\Program Files\3Delight\bin\renderdl.exe”
0: INFO: Render Argument: .\Rib\spec0001.rib
0: INFO: Startup Directory: "D:\luoqiulin_proj\luoqiulin_massive\test"
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): Failed to assign process “C:\Program Files\3Delight\bin\renderdl.exe” to job object: 拒绝访问。

(System.Exception) (Deadline.Plugins.RenderPluginException)

在 Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Exception Details

RenderPluginException – Exception during render: An error occurred in RenderTasks(): Failed to assign process “C:\Program Files\3Delight\bin\renderdl.exe” to job object: 拒绝访问。

(System.Exception) (Deadline.Plugins.RenderPluginException)

在 Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

RenderPluginException.Cause: JobError (2)

Exception.Data: ( )

Exception.TargetSite: Void RenderTask(Int32, Int32)

Exception.Source: deadline

Exception.StackTrace:

在 Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)

在 Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[/code]

maybe you can’t read this :
无法访问已关闭的文件。 >>>>>>>>>>>>>>>>> can’t visit the closed file
拒绝访问>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>refused to visit

thank you very much!!

Are you rendering on Vista? The error “Failed to assign process … to job object” seems to affect a small number of Vista users, and a known workaround is to start the slave from a command prompt instead of through the Start menu. Also, which version of Deadline are you using? Many Vista issues were fixed in the 3.1 release.

If you’re not using Vista, then I’m not sure what the problem would be…