3

Is there any way to get the Job Id from Deadline. I am scripting the process of submitting a job from Maya to Deadline without using the GUI. I need the JobId in order to create a folder in the repository to save the Maya Scene File when submitted. Thanks

Alfabravo
  • 7,493
  • 6
  • 46
  • 82
  • Unfortunately I don't know anything about scripting Maya or Deadline but you might consider providing more details and/or posting some code. I think it's a perfectly valid question but it usually helps to show some effort. – Iguananaut Nov 07 '18 at 18:48
  • Thanks for the feedback!! – Marlon Viera Nov 08 '18 at 11:31

1 Answers1

0

If you are submitting via deadlinecommand.exe, it has an output that contains all the job IDs. The lines can be split by \r\n, and every line containing an ID will start with JobID=.

Here's an example output from submitting two jobs at the same time:

Deadline Command 9.0 [v9.0.8.4 Release]

Submitting to Repository: \\<company server>\repo

Submission Contains No Auxiliary Files.

Result=Success
JobID=5beebe64afcefe068846e319

The job was submitted successfully, but there were some warnings:
- Invalid characters removed from "LimitGroups" value.


Deadline Command 9.0 [v9.0.8.4 Release]

Submitting to Repository: \\<company server>\repo

Submission Contains No Auxiliary Files.

Result=Success
JobID=5beebe65afcefe068846e31c

The job was submitted successfully, but there were some warnings:
- Invalid characters removed from "LimitGroups" value.
Peter
  • 3,186
  • 3
  • 26
  • 59