Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Start and stop FM Server 5 automaticly

Featured Replies

  • Newbies

Hello,

How does the com/bat file look like to stop and start FM Server 5? I've tried some but it doesn't work. Please can anybbody give me an example?

Kind regards,

Jeroen

Hi, Jeroen, and welcome to FM Forums!

Assuming you have FM Server installed at C:Program FilesFileMakerFileMaker Server 5 (the default location), your syntax would be:

C:Program FilesFileMakerFileMaker Server 5fmserver start

and

C:Program FilesFileMakerFileMaker Server 5fmserver stop

There's more detail about this in the Help menu item "Using the command line to automate tasks (Windows)."

HTH,

Jerry

  • Author
  • Newbies

Thanks Jerry,

Is it correct to write these lines in a text file and save it like an .bat file?

With FM Server 5 I have to browse to a place where a com/bat file is located.

Kind regards,

Jeroen

You could also try this from within your .bat or .cmd file:

NET START ServiceName

This command starts Windows services. To stop services:

NET STOP ServiceName

Name your script file something like StartFM.cmd or StartFM.bat either file extension will work. I like cmd myself. Place one line in the file:

NET START "FileMaker Server"

(I haven't tried this with FileMaker but it works with other services)

The create a new scheduled task. Browse to your cmd or bat file. Fill out the schedule as you see fit. Then test to see if it works.

Is it correct to write these lines in a text file and save it like an .bat file?

Absolutely. Entering them just as they appear will do the trick, regardless of what directory you're starting from.

TedS said:

NET START "FileMaker Server"

(I haven't tried this with FileMaker but it works with other services)

You're right, Ted--that does, in fact, work for FMS as well, from any starting directory.

J

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.