![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 8 of 8 total |
![]() |
Thu, Mar 31 2016 11:39 AM | Permanent Link |
Paul Waegemans IMS bvba | I have a batch file (see attchment) to start all my webservers in 1 command.
BUT HOW CAN I STOP THEM all in one batch file? Paul. Attachments: StartServers.bat |
Thu, Mar 31 2016 12:03 PM | Permanent Link |
Uli Becker | Paul,
> BUT HOW CAN I STOP THEM all in one batch file? I run my servers as services and use these commands to start/stop them: net start ewbsrvr net stop ewbsrvr Uli |
Fri, Apr 1 2016 10:42 AM | Permanent Link |
Paul Waegemans IMS bvba | I have a folder for each server that has to run (with in each folder the appropriate ini file). So the batch file to start should bue as follows:
cd folder1 net start ewbsrvr1 cd folder2 net start ewbsrvr2 . . cd folder99 net start ewbsrvr99 And the batch file to stop should be: cd folder1 net stop ewbsrvr1 cd folder2 net stop ewbsrvr2 . . cd folder99 net stop ewbsrvr99 Unfortunately this does not work. The batch file in my first message works fine to start the servers (as application) I run my servers as services and use these commands to start/stop them: net start ewbsrvr net stop ewbsrvr Uli |
Fri, Apr 1 2016 10:53 AM | Permanent Link |
Uli Becker | Paul,
> I have a folder for each server that has to run (with in each folder the appropriate ini file). So the batch file to start should bue as follows: > > cd folder1 > net start ewbsrvr1 > cd folder2 > net start ewbsrvr2 No, that's not the way it works. Since you don't execute an application, but start a service there is no need to navigate to any folder. Each service has a unique name and can be started by calling net start or net stop. Uli |
Fri, Apr 1 2016 11:46 AM | Permanent Link |
Uli Becker | Paul,
maybe a misunderstandig. The commands I posted work only with EWB Servers installed as a Service. Uli |
Fri, Apr 1 2016 11:53 AM | Permanent Link |
Paul Waegemans IMS bvba | I understand but I don't succeed to install the webserver as a service first by using the command
ewbsrvr.exe /install And this has to be done first as I read in the manual. No, that's not the way it works. Since you don't execute an application, but start a service there is no need to navigate to any folder. Each service has a unique name and can be started by calling net start or net stop. Uli |
Fri, Apr 1 2016 12:00 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Paul,
<< I understand but I don't succeed to install the webserver as a service first by using the command >> That command is for *installing* the service. What Uli is referring to is starting and stopping a service. Tim Young Elevate Software www.elevatesoft.com |
Fri, Apr 1 2016 12:46 PM | Permanent Link |
Matthew Jones | <Paul Waegemans> wrote:
> I understand but I don't succeed to install the webserver as a service > first by using the command > > ewbsrvr.exe /install > > And this has to be done first as I read in the manual. > > > > > No, that's not the way it works. Since you don't execute an application, > but start a service there is no need to navigate to any folder. > > Each service has a unique name and can be started by calling net start > or net stop. > > Uli > > If you mean that you get an error when you install, you need to run CMD as an administrator to install services. -- Matthew Jones |
This web page was last updated on Wednesday, August 14, 2024 at 07:31 PM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |