Hello everyone!
I have a customer that is running the OECGI to deliver some reports to the web. This is running from a novell server that forces all of the users to log out at a specified time in order to do backups. This is causing some problems. Is there a way to close OI at a specified time so that we can use the Scheduled Tasks utility to restart it in the morning? Thanks!
Carl
Many ways but an IDLEPROC that checks for a specified time then sends a DESTROY message to the SYSTEM might be a good way.
World Leaders in all things RevSoft
Sounds fine in theory but what happens when the OI system is running a long process such as a string or reports? How to you shut that down without causing a system haemmorage?
It's all in the design
. As you know WHEN you're going to want to schedule the close down you'd ensure that any routines that'll be running at that time are checking for this and recover gracefully.
World Leaders in all things RevSoft
Okay, this is my plan, shoot holes in it please. We restrict access to the page that calls the INET_SUBROUTINE based on time. Lets say if it is after 10:00PM then then can no longer run a report. Also if by some chance the circumvent that and run a report, I check the time in the INET_SUBROUTINE and if it is after 10:00PM it will report an error back to the user saying it's to late to run the report. The report itself has never taken longer than 5 minutes to run. So I set the IDLEPROC procedure for 10:30PM to destroy the system. Would this hopefully be sufficent to keep OI from messing itself.
Also, thanks for the help folks, I really appreciate it!!
Carl
Sounds like a plan - ensure the page is set not to cache etc and use the belt and braces change to the INET_ routine as well. With a bit of trial and error this should give the results you want.
World Leaders in all things RevSoft
Great! Thanks for all your help and advice!!
Carl