I have a Domino server running on a Windows server. Right now we are opening the Domino console GUI to enter and execute various commands.
I would like to automate and schedule some of these commands and possibly run them from a remote host as well. What are my options here? Would it be possible to use Putty or something similar to connect to the console and run commands? If not, can I run the commands from Windows commandline, without opening the Domino console?
Best Answer
If your server starts with the java controller (command line -jc -c), then this controller listenes on port 2050 for remote commands. Unfortunately I do not know the specification of that interface, but probably googling might get you some answer.
But you can run any domino command by calling the nserver.exe from the domino- directory with a
-c
parameter.For example to run a
show tasks
on the console you simple run the commandnserver.exe -c "show tasks"
.Some commands allow to redirect the output to a file using
> path\file.txt
, but not all. To get the result from the rest of the commands, you need to checkIBM_TECHNICAL_SUPPORT\console.log
in the domino data directory, if console logging is enabled.