Consultor Eletrônico



Kbase P116515: Starting database using windows at scheduler,but is leaving open command line window when it is don
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/27/2010
Status: Verified

SYMPTOM(s):

Using windows scheduler to start databases.

Command line window are left open after each database is started.

Calling proserve.bat file.

FACT(s) (Environment):

Windows 32 Intel
Progress 9.x
OpenEdge 10.x

CAUSE:

proserve is a bat file which opens a command line window, but it is not closed when the bat file is done.

FIX:

Call the executables directly.

Command line should look similar to the following examples:

1. To start a database:
<path of DLC>\bin\_mprosrv.exe -db <path>\largedb -S 7777

2. To stop a database:
<path of DLC>\bin\_mprshut.exe -db <path>\largedb -by