Restart "program"

Hi

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?

Many thnaks

Elton

Subject: Restart “program”

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.

Subject: Restart “program”

Hi,

if you want to execute a Console Command through a Program Document to the server you have to do following a.e.:

Program name: Nserver

Command line: -c “restart server”

This works the same way you you could choose if you run a batch from the Operating System.

Bye

Chris

Subject: RE: Restart “program”

Thanks!

The help text lead my to beleive that I could run console commands from a program document…