July 3, 200520 yr Is there a way to start/stop fmserver(advanced) via "shell commands"? (I just want to create a batch file which stops and starts all necessary fmserver - services with a single "klick" or scheduled task ...) Harald
July 3, 200520 yr Yes, by using the service control utility sc.exe. To start the server, use the following: sc start "FileMaker Server Helper" sc start "FileMaker Server 7" sc start "FileMaker Publishing Engine (WPC)" sc start "FileMaker Publishing Engine (CWPE & CONFIG)" To stop the server, use: sc stop "FileMaker Publishing Engine (CWPE & CONFIG)" sc stop "FileMaker Publishing Engine (WPC)" sc stop "FileMaker Server 7" sc stop "FileMaker Server Helper" You may need to experiment some with stopping the services. I had to add some pauses between steps and change the sequence in order for all of the services to stop, which is not a problem because I run this manually. Perhaps putting each stop command in it's own batch file, then calling each one from a master file will work. I'll do some testing later. Hope this helps.
Create an account or sign in to comment