Error when passing a comment to command

Hello,

According to the help:

RemoteControl <Machine Name(s)>

Arguments:
ShutdownMachine [comment] and RestartMachine [comment].

and this on docs:

https://docs.thinkboxsoftware.com/products/deadline/10.1/1_User%20Manual/manual/command-line-arguments-clients.html#remotecontrol

It states the same thing, you can pass a comment at the end of the command string/args.

but when I issue the command:

deadlinecommand remotecontrol hpc420d OnLastTaskcomplete restartmachine WEEKLY_REBOOT

Should reboot the machine and add the comment “WEEKLY_REBOOT” to the logs.

But instead I’m seeing this error in the logs:

2023-10-20 14:17:00: Launcher Thread - Received command: OnLastTaskcomplete restartmachine : WEEKLY_REBOOT :
2023-10-20 14:17:00: Checking for running process: WEEKLY_REBOOT
2023-10-20 14:17:00: OnLastTaskComplete command was ignored because one or more of the given important processes are running.
2023-10-20 14:17:00: Launcher Thread - Responded with: Success

And it doesn’t attempt the reboot.

Am I passing that comment incorrectly? I’ve tried quotes but am seeing the same result.

thanks in advance!
-g

Hello

Thanks for reaching out. Wrap the comment in quotes. It works for me like that.

1 Like

I should of known to try that, that works Zainali, thanks!
-g

1 Like