|
From: Klingensmith, R. F <ros...@lm...> - 2005-06-27 12:55:11
|
Bashiro, Correct me if I am wrong, but doesn't your solution depend upon the VNC software you have installed? Without extra software, as far as I know you cannot execute batch files from one remote machine on another. Our setup is lacking any extra software and will not be getting any. Is there still any hope of doing what was asked? Thanks, Ross Klingensmith -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Bashiro Sent: Friday, June 24, 2005 1:11 PM To: wra...@li... Subject: RE: [Wrapper-user] Remote Start/Stop I think if you create a batch file or an .sh file and place the commands in it: example let's say you have "manage.bat" that run the service (that contains then wrapper's main commands). And you use the command "manage.bat start" to start the service and "manage.bat stop" to stop the service. Then by creating a new bat file example with the name "start.bat" and in it place the commands "manage.bat start". Then by calling the batch file "start.bat" from a remote machine, it will then call the main bat file to start the process. I think this will be easier than writing the whole command. Similarly another stop.bat and placing the commands "manage.bat stop" will also stop it. That's how I did it actually. I use Tridia VNC as a remote and then call these files. Hope this helps bashiro > Yes, I want to programmatically be able to start/stop the service on a > particular machine from a different remote machine. > > Thanks for your responses so far, > Ross Klingensmith > > > > -----Original Message----- > From: wra...@li... > [mailto:wra...@li...] On Behalf Of Bashiro > Sent: Friday, June 24, 2005 2:55 AM > To: wra...@li... > Subject: Re: [Wrapper-user] Remote Start/Stop > > > > I am not sure if I have understood you clearly even though Leif has > given you an answer. Do you mean you want to be able to start/stop the > service on a particular machine from a different remote machine ? > bashiro > >> Is it possible to use the JavaServiceWrapper to start/stop the >> already > >> installed services? I know you can do this through the netcsv command >> that comes with the service pack, but was wondering if it is within >> the capabilities of the wrapper. I would want to do this so that I >> could have another java program on a different machine be able to >> stop/start the services without using netcsv and the dos interface. >> >> Thanks in advance, >> Ross Klingensmith >> >> >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |