I sent this once but didn't see it come through so I'm resending it... The documentation for ON.EXIT is on the AUTOLOGOUT<http://www.jbase.com/knowledgebase/manuals/3.0/30manpages/man/uti2_AUTOLOGOUT.htm> page. Dan
On Mon, May 11, 2009 at 2:50 PM, David McGehee <[email protected]>wrote: > These processes are run on console windows, not via telnet. Also, > because a window is jstarted for each process, when the process terminates > the window terminates. They are not going into debugger nor exiting to > shell. That was why I was looking for an ON EXIT type of function which > would be called as the processed terminated. > > > > *From:* [email protected] [mailto:[email protected]] *On Behalf > Of *Jim Idle > *Sent:* Monday, May 11, 2009 12:16 PM > *To:* [email protected] > *Subject:* Re: ON EXIT > > > > David McGehee wrote: > > I seem to remember reading that jBase had an ON EXIT function available for > a program. I cannot find the documentation. Does it exist? Has anyone > used it? We are having a problem with Program level tasks disappearing on > Windows Server 2003 (new problem but have been on 2003 for long time) and > need to document state of program when it terminates. (Window for task was > jstarted so it terminates as well.) > > jBase Version is 4.1.5.17 patch 5690 > > I think you are thinking of: > > JBC_TCLRESTART<http://www.jbase.com/knowledgebase/manuals/3.0/30manpages/man/env2_JBC_TCLRESTART.htm> > > set to command to execute instead of shell > > JBC_ENDRESTART<http://www.jbase.com/knowledgebase/manuals/3.0/30manpages/man/env2_JBC_ENDRESTART.htm> > > set to command to execute after end from debugger > > JBCRESTARTPROG > > set to command to execute after off (unix/Linux only) > > > > But these won't help if the program is crashing. With background programs I > have noticed that that if the TERM variable is unset and a program tries to > print, then it crashes hard. Try making sure that you have set TERM to > something and check any new programs for trying to print as a background > job. > > Jim > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
