Notifications
Clear all

[Closed] Backburner Job Dependencies

Im developing a MaxScript which helps us to render multiply CamStills with precalced LightCaches via Backburner.

  1. Rendering all LCPrecalc Jobs on all available servers.
  2. Rendering the following FinalJobs with VrayRD enabled

I like to use the JobDependencies to render the LCprecalc Job first.
But MaxScript Jobhandle does not support the dependencie feature .

I played around with the cmdJob.exe feature of Backburner which support dependencies, but i dont get it to describe a 2nd MaxRenderJob.
The cmdJob.exe is for calling any other executable via Backburner.

Any suggestions on that ?

2 Replies

try this thread, it should have information on how to set a job with dependencies when submitting (via the command line render) and how to set an existing job to have dependencies (via python):
http://forums.cgsociety.org/showthread.php?f=98&t=692735&highlight=dependencies

Thanks for Reply,

I build a nice MaxScript only slove using persistent global variable in the Precalc Job and a Callback mechanism.

function getting a jobs name string


 fn resumeBackburnerJob job = (
 	print "execute startBackburnerJob"
 	manager = netrender.getmanager()
 	manager.connect #automatic "255.255.255.0"
 	if manager.connected then (
 		hasControl = manager.GetControl()
 		if not hasControl then manager.QueryControl #wait
 		jobs = manager.getjobs filter:#name key:job
 		if jobs.count > 0 then (
 			manager.QueryControl #wait
 			jobs[1].Resume()
 			print ("Resume Backburner Job " + job)
 		)
 	)
 )