Hello,
According to the help:
RemoteControl <Machine Name(s)>
…
Arguments:
ShutdownMachine [comment] and RestartMachine [comment].
and this on docs:
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