AWS Thinkbox Discussion Forums

maya script job

Hi there,

What entries are required in the job info file to trigger a script to be loaded?

I am using the MayaBatch plugin, and based on what i saw in the python script for the plugin, i set these props:

ScriptJob=True
ScriptFilename=

Yet it seems that mayabatch thinks its just a render job, and does not execute the script. There is this line in MayaBatch.py:
line 141: self.LogInfo( “This is a script job” )

Its never printed to the log.

The full contents of the info.job file:

OutputDirectory0=
LimitGroups=
Group=maya
Name=Remote Publish Test
Plugin=MayaBatch
EnableAutoTimeout=0
Priority=40
LimitConcurrentTasksToNumberOfCpus=0
Blacklist=
Department=
ScriptFilename=S:\TMP\farmCommand.mel
ConcurrentTasks=1
ChunkSize=15
Comment=
TaskTimeoutMinutes=60
JobDependencies=
InitialStatus=Active
Whitelist=
MachineLimit=15
ScriptJob=True
Frames=1001
OnJobComplete=
Pool=3d

The ScriptJob and ScriptFilename properties need to be written to the plugin info file, not the job info file.

Script jobs can be submitted from the Maya submitter in the Monitor. The options are under the advanced tab. You can use this submitter to see what the job and plugin info files would look like.

Cheers,

  • Ryan

Glorious Ryan, thanks!

Btw, the speed of deadline6 is amazing. Im running slave on my vancouver machine, the repository is in LA, and its faster than deadline5 was with all local everything.

Its great so far :slight_smile: Cant wait to push it to the limits

Privacy | Site terms | Cookie preferences