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.

Server Script - Close all Databases

Featured Replies

Just ran into a nasty situation.

Without knowing it, a db file on our FMserver 9 corrupted, 10 days ago. Then yesterday the server needed to be restarted, and that is when we notice the db would not open.

We would like to add a check for this in the future and one way I was thinking was to schedule the server to close and open all files each night. That was if the file doesn't open we can catch it sooner.

I can see in the Admin console there is an option to run a system-level script.

- Has anyone does this on a Mac server?

- Preferred script would be close and open files.

I've run shell scripts on a Mac server running FMS 9.

There is syntax to the FMS commands that can be found in the FMS admin guide. You will likely need to supply permissions to the commands within your script. You might also want to open the files one by one so you can better log which files are having problems and the error returned by FMS.

I haven't written a script that does exactly what you're asking so I don't have an example to share unfortunately.

Create an account or sign in to comment

Important Information

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

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.