CLOSE command
Format
fmsadmin CLOSE [FILE...] [PATH...] [options]
Description
Closes the specified databases (FILE) or all the hosted databases in the specified folders (PATH). If no FILE or PATH is specified, closes all hosted databases.
Note If you want to close a specific database, you must type a space between any options and the filename or file ID. For example:
Command | Result |
fmsadmin close -y FILE | Closes only the database specified by FILE. |
fmsadmin close -y | Closes all hosted databases. |
Options
-m message, --message message
Specifies a text message to be sent to the
clients that are being disconnected.
-t seconds, --gracetime seconds
Specifies the total number of seconds to wait before forcing disconnection of clients. The default (and minimum) value is 90 seconds.
For example, if you type
fmsadmin close --gracetime 120
clients see a dialog box immediately and can click Close Now or Cancel. If the client does not click a button, the database closes in 30 seconds. If the client clicks Cancel, the dialog box will reappear 45 seconds before the specified time limit (120 seconds). If the client clicks Close Now at this point, the database closes immediately. If the client clicks Cancel again, the database closes after another 45 seconds.
-f, --force
Forces a database to be closed without a prompt for confirmation.
Related topics