HI,
I have been trying to start/stop/“execute commandline” machines remote via the Deadlinecommand.exe, but I can’t get it to work, is there something I have misunderstood, very likely
I have tried things like DeadlineCommand.exe -RemoteControl Render3 -StartSlave without any luck…
From the documentation:
RemoteControl Send the remote command to the Deadline Launcher running on the specified machine(s)
[Machine Name(s)] The machine name, or a list of machine names separated by commas
[Remote Command] The remote command
[Argument]
Try the following:
DeadlineCommand.exe -RemoteControl Render3 LaunchSlave
DeadlineCommand.exe -RemoteControl Render3 StopSlave
We really should better document what the available commands are.
Thanks for the, as always, fast respond
Would it be possible to see all the available commands?
or can I look them up somewhere?
Here are the standards:
StopLauncher
LaunchMonitor
LaunchNetworkConfig
LaunchJobMonitor
LaunchSlave
LaunchSlaveDelay
StopSlave
RelaunchSlave
ForceStopSlave
ForceRelaunchSlave
LaunchPulse
StopPulse
RestartPulse
StopMonitor
StopJobMonitor
StopConfig
I think they’re pretty self explanatory, but if you have any questions about specific commands, let us know!
That was fast
What about “execute command”?, is that possible
Oops, missed that one. Here are the commands:
Execute
ExecuteNoWait
For example:
DeadlineCommand.exe -RemoteControl Render3 Execute "c:\path\to\application.exe"
I should note that currently cmd /C commands will not work. This is a bug we found in 3.0 that will be fixed in the 3.1 release in March.
Cheers,
What about restart/wake-on-lan/shutdown/etc machines…
Please let it be possible?
RestartMachine
StartMachine
ShutdownMachine
sberger
February 6, 2009, 3:34pm
10
hahahaha… the list goes on and on and on!
What about scan for viruses?
Hello Ryan,
Any options to restart machine after job completion?
thx
Yup, forgot to mention these:
DeadlineCommand.exe -RemoteControl [machine name] OnLastTaskComplete Continue
DeadlineCommand.exe -RemoteControl [machine name] OnLastTaskComplete StopSlave
DeadlineCommand.exe -RemoteControl [machine name] OnLastTaskComplete RestartSlave
DeadlineCommand.exe -RemoteControl [machine name] OnLastTaskComplete ShutdownMachine
DeadlineCommand.exe -RemoteControl [machine name] OnLastTaskComplete RestartMachine
Cheers,