Is there a way to silent change repository using commandline?
The current solutions are:
“deadlinecommand changerepository” works only if there’s user input.
“Deadline Configuration”, but it takes a while for it to scan through the domain.
We are looking for a way to switch a block of machines from one repository to another depending on usage.
It would be ideal if the we can switch the repository via the deadline monitor interface, and have it restart.
I tried changing the registry key but it doesn’t quite register on the slave.
Is there a solution or can I request that in the next update.
Ivor.
Hey Ivor,
I’m responding from home, so I haven’t tested this, but have you tried passing the repository path that you’re changing to, like this:
deadlinecommand changerepository "\\repository\path"
If that doesn’t work, then we’ll make it work for the next release.
The registry key is used by the installer only. The Deadline applications use the repository path in the deadline.ini file. If you’re on XP, you can find this file in C:\documents and settings\USERNAME\Local Settings\Application Data\Frantic Films\Deadline (I hope I have that path right, but I’m sure you get the idea). If the suggestion above doesn’t work, I’m sure you could write a script to modify the NetworkRoot setting in the ini file.
Cheers,
Ryan
The commandline doesn’t take any arguments, it pops a windows dialog instead.
Thanks for quick response.
Cool, thanks for confirming. We’ll add this feature in the next release.