I use SendConsoleCommand method of NotesSession class such a purpose. For most of the commands it returns someting like “Command sent to server, look the server console for the results”. Is there any way to get the console messages for the sent command after sending it to the server?
Subject: Sending Commands To Servers And Getting All The Messages Produced by the Server For That Command
I’m not quite sure the syntax, but you can redirect command outputs to a file, then send the contents of the file somewhere… Watch the server console when you do some things in the Admin client and you’ll see what I mean.
Take a look in the Admin Help for “Capturing server command output in a file”…
Subject: How can console output be redirected to a file?
check this document →
Subject: RE: How can console output be redirected to a file?
Thank you very much for your reply. However, if the command I use does not finish its work immediately such as “load compact mail\mailbox1” how can I get the output of the execution progress?
Subject: RE: Sending Commands To Servers And Getting All The Messages Produced by the Server For That Command
However, in the output file contains a message like “Command sent to server see console for changes”