November 23, 200421 yr 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
November 23, 200421 yr 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
November 23, 200421 yr 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
November 23, 200421 yr 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
November 23, 200421 yr 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.
November 23, 200421 yr 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