Stopping dedicated index process (OpenInsight 32-bit Specific)
At 20 AUG 2003 08:52:50PM Jonathan Bird wrote:
I've set up an OI session to run as a dedicated index server, running happily. However, I need to stop and close the OI session overnight. So I put a bit of code in the timer event of the main window:
if time() gt 85800 then
utility('DESTROY','SYSTEM')
end
which seems to work most of the time. However sometimes the session does not close, but we get a message:
"Another process has exclusive access to the engine or the debugger has suspended engine execution. The current process cannot continue".
I suppose this is becasue the system is trying to close as an index update is taking place. Any suggestions? Should I turn off the indexing before the DESTROY?
Ta,
J
At 20 AUG 2003 10:02PM Donald Bakke wrote:
Should I turn off the indexing before the DESTROY?
Couldn't hurt!
dbakke@srpcs.com
At 20 AUG 2003 10:39PM Jonathan Bird wrote:
Unfortunately it doesn't make a difference….
At 20 AUG 2003 10:49PM Donald Bakke wrote:
Have you tried IDLEPROC instead of a TIMER event? How about doing a Post_Event/CLOSE?
dbakke@srpcs.com