I’d like to have a program that restarts the server on a schedule. Naively I thought that just putting “restart” in as the program name (program document), along with the schedule settings, would do the trick. It has errored saying that it can’t find the program.
I run 2 scheduled compacts without any problem, where am I going wrong?
I am not sure that restart is an external program so does not work this way.
I have done this by setting an OS level command - this will vary on your OS.
If you are using Windows you can set a command in the schedule “net stop Lotus Domino” & “net start Lotus Domino” (may not be exact syntax - try it). This way the OS can control the service. I assume that this would also be possible on Linux / Unix, if it is ISeries then an OS400 command would be required - this is also possible.