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.

FMSAdmin Scheduled Disconection

Featured Replies

  • Newbies

Hi there, I'd like to schedule a daily disconnection of all users from the database using the FMSAdmin, I'm running FMPro 8.5 Server on our Windows 2003 machine and on the surface it seems like an easy task. According to the manual the command for such an action is simply

 fmsadmin disconnect client


 with no client ID specified it should disconnect all users right? I've also added a two minute delay and a message just in case someone's still running FM at 3.00 AM. also a confirmation prompt as well thus: 


fmsadmin disconnect client -m "Regular Maintenence Scheduled - You have two minutes til termination" -w 120 -y


 apparently no client ID is needed if I wish to disconnect all clients. However this does not seem to work. I've tried saving my file as a .bat and also a .com file into the scripts folder and adding it to the scheduled tasks list, then testing it runs, but no result. Am I doing this correctly? Or is there something simple I'm overlooking? Do I have to define the path to fmsadmin in my script? That didn't seem to help.



I've also tried simplifying the script with just the following 


fmsadmin disconnect

but that does not seem to help either. Any suggestions?

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.