OE database as a service on Windows

Posted by Riverside Software on 10-Apr-2017 04:38

Hello all,

Has anybody successfully configured a database to be started as a Windows service ? I think  it could be possible to do that with nssm or srvany, but I wanted to know if anybody had already done that and would like to share his findings.

Gilles

All Replies

Posted by laurent KIEFFER on 10-Apr-2017 09:53

Hi Gilles

does this kbase help ? community.progress.com/.../30697

Regards

Posted by laurent KIEFFER on 10-Apr-2017 09:53
Posted by Riverside Software on 10-Apr-2017 10:40

The second solution is more or less what I'm looking for, but it doesn't handle the DB shutdown for example.

Posted by gus bjorklund on 11-Apr-2017 21:30

you could set up a scheduled task that starts the server (via a .bat script) after system boot

Posted by Paul Koufalis on 12-Apr-2017 07:48

[mention:22b0915eb76243a69eb580cf41e9ee92:e9ed411860ed4f2ba0265705b8793d05] be careful with scheduled tasks on Windows. The default priority is "WINDOWS_YOU_GET_NO_CPU_AT_ALL_PRIORITY" for scheduled tasks and there is no way to change it in the UI. You need to export the task, manually edit the XML file, then reimport the task.

Paul

Posted by schlits@gmail.com on 13-Apr-2017 10:38

How about Windows startup/shutdown script configured in:

1. Run gpedit.msc (Local Policies)

2. Computer Configuration -> Windows Settings -> Scripts -> Startup or Shutdown -> Properties -> Add

Posted by cverbiest on 14-Apr-2017 02:02

[mention:3cb137fff0074190a2d3f32e55cf403a:e9ed411860ed4f2ba0265705b8793d05] thanks, wasn't aware of that, I found more info in

stackoverflow.com/.../is-there-any-way-for-a-win2k8-scheduled-task-to-have-normal-priority-io

This thread is closed