Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7082 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

This topic is 7082 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.