Auto Shutdown of INET_GATEWAY (OpenInsight Specific)
At 07 NOV 2001 10:19:54AM Jim Weir wrote:
Our clients would like to have their system perfrom an after-hours automatic shut down of the application running INET_GATEWAY. This seems straight forward by simply passing a shutdown time and procedure to IDLEPROC. The problem arises when the shutdown procedure executes send_event("INET_GATEWAY","CLOSE"). INET_GATEWAY returns the message "Closing this window will stop services. Do you really want to exit? Y/N". Of course there is no after-hours person to read the message so the shutdown process does not complete.
Any ideas?
At this time we are using an older version of INET_GATEWAY. Maybe a newer version has a message switch that can be set.
Thanks,
Jim Weir
At 07 NOV 2001 11:46AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
Go into the UserInterface Workspace in Sysprog, choose Open, Choose Messages and choose INET_CLOSE. Change the message type from being a BNY to a Timed 1 second. That way it will display and then close after a second.
World Leaders in all things RevSoft
At 08 NOV 2001 06:31AM Tony Marler @ Prosolve Software UK wrote:
Jim
For a bit neater way you can also try the following code
declare function Utility
retval=Utility("DESTROY", "INET_GATEWAY")
or to close OI completely
retval=Utility("DESTROY", "SYSTEM")
Tony
At 08 NOV 2001 07:22AM Oystein Reigem wrote:
Sprezzatura,
What about that guy checking out our single malts in the night? He could press the OK button and do some useful work instead!
- Oystein -
At 08 NOV 2001 08:10AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
With respect Tony, we believe it is neater to allow a window to fully complete close processing rather than destroying it unconditionally.
World Leaders in all things RevSoft
At 08 NOV 2001 08:12AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
What and tell him our screen-saver password?
World Leaders in all things RevSoft
At 08 NOV 2001 08:25AM Oystein Reigem wrote:
No, that's true.
He's probably not the guy you want hanging around the office anyway. You see he checked out my big Sami knife too.
- Oystein -
At 08 NOV 2001 09:50AM Jim Weir wrote:
Thanks Sprezz, Tony, Oystein. It's now working like a hot damn.
Jim
At 08 NOV 2001 12:06PM Oystein Reigem wrote:
Jim,
Thanks to me? Did I actually say something sensible? My mental state must be worse than I thought…
- Oystein -
At 08 NOV 2001 11:44PM Jim Weir wrote:
Oystein:
Did you say something sensible? - No! But your humor is always appreciated.
- Jim -
At 09 NOV 2001 03:56AM Oystein Reigem wrote:
Jim,
Well, don't expect any of the latter today. I just fought relational indexing and lost!
- Oystein -