July 14, 201015 yr Hi, There is a typo in the close command help. It's written "-f" to force files to close without prompting, but it should be written "-y". The typo is also present in the PDF file fms11_help. By chance the examples was written with the right flag! No wonder why my server seemed to hang with my batch file!
July 15, 201015 yr Don't have the documentation here with me but off the top of my head you need both flags for what you have in mind. -f without the -y will force but still prompt you -y without the -f will not prompt you but will still wait up to 2 minutes for the clients to disconnect before forcing
July 15, 201015 yr Author In my case, the server sends a message to the clients that the files will close in 30 minutes. fmsadmin close -m "The daily backup has ended. The databases will close in 30 minutes." -y -t 1800 -u xyz -p 123
July 15, 201015 yr This is not an error in the Server Help. The "-y" or "--yes" flag automatically answers yes to any prompts. This is documented on page 167 of the current Server Help PDF file (http://www.filemaker.com/support/product/docs/fms/fms11_help.pdf). The "-f" or "--force" flag forces the named database or all databases to be closed. Steven
July 15, 201015 yr Author Thanks Steven to pointing this out. I went directly to the close function. That's why I haven't seen the options. Although when executing "fmsadmin help close" all the options are not shown.
Create an account or sign in to comment