César -- Use Linux's shell scripting capabilities. Something like (don't take this literally, but use it as the basis for what you should do):
To start: export gtm_dist=/usr/local/gtm export gtmgbldir= ...pointer to global directory... export gtmroutines= ...routine search path... $gtm_dist/mumps -dir <<eNDoFsCRIPT d STRT^ZTMB d STRT^XWBTCP(9260) h eNDoFsCRIPT and, to stop: export gtm_dist=/usr/local/gtm export gtmgbldir= ...pointer to global directory... export gtmroutines= ...routine search path... $gtm_dist/mumps -dir <<eNDoFsCRIPT d STOP^XWBTCP(9260) d STRT^ZTMKU YES h eNDoFsCRIPT In other words, use Linux's shell scripting capabilities. -- Bhaskar On Tue, 2005-08-30 at 19:28 -0500, César Yáñez Fernández wrote: > Thanks a lot for your help, Greg; now I can start the Taskman in a > non > interactive way, now, I need to open the 9260/TCP port, so I do: > > GTM> D STRT^XWBTCP(9260) <ENTER> > Start TCP Listener... > Checking if TCP Listener has started... > TCP Listener started successfully. > GTM> > > and to stop it; I just type: > GTM> D STOP^XWBTCP(9260) <ENTER> > Stop TCP Listener... > GTM> > > and now, I want to stop the TASKMAN without confirmation, in order to > stop it, I type: > GTM> D STOP^ZTMKU > Are you sure you want to stop TaskMan? NO// > (...) > > I need to stop the TASKMAN so I can cleanly rundown the databases and > GT.M, what is the correct instruction to do it? > > sorry if I ask too much, but thanks anyway ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members