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
Sorry this one
The second solution is more or less what I'm looking for, but it doesn't handle the DB shutdown for example.
you could set up a scheduled task that starts the server (via a .bat script) after system boot
[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
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
[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