Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5974 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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?

This topic is 5974 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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