Newbies blimpo Posted November 23, 2004 Newbies Posted November 23, 2004 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
QuinTech Posted November 23, 2004 Posted November 23, 2004 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
Newbies blimpo Posted November 23, 2004 Author Newbies Posted November 23, 2004 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
Ted S Posted November 23, 2004 Posted November 23, 2004 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
Ted S Posted November 23, 2004 Posted November 23, 2004 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.
QuinTech Posted November 23, 2004 Posted November 23, 2004 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
Recommended Posts
This topic is 7677 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 accountSign in
Already have an account? Sign in here.
Sign In Now