i want set "restart slaves after current task completion" in commandline

Hi,
I’m not sure I understand your last reply. You want to execute this command on an already running Slave and/or remotely as well via DeadlineCommand? If so, the following should help. If not, please could you explain some more!

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. The available commands are StopLauncher, LaunchSlave, LaunchAllSlaves, LaunchNewSlave, RemoveSlave, LaunchSlaveDelay, StopSlave, RelaunchSlave, ForceStopSlave, ForceRelaunchSlave, OnLastTaskComplete, LaunchPulse, StopPulse, RestartPulse, RemotePulseCommand, LaunchProxyServer, StopProxyServer, RestartProxyServer, LaunchBalancer, StopBalancer, RestartBalancer, RemoteBalancerCommand, LaunchMonitor, StopMonitor, StopConfig, RestartMachine, StartMachine, ShutdownMachine, Execute, ExecuteNoWait [Argument] The argument for LaunchSlave, LaunchNewSlave, and RemoveSlave is the name of the Slave. The argument for Execute and ExecuteNoWait is the command to execute. Valid arguments for OnLastTaskComplete are Continue, StopSlave, RestartSlave, ShutdownMachine, RestartMachine, CheckForTasks, CancelTask, and ClearFailureCache. Valid arguments for RemotePulseCommand are HouseCleaning, PendingJobScan, RepositoryRepair, and PowerManagement. Valid arguments for RemoteBalancerCommand are Balancing.