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

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

Recommended Posts

  • Newbies
Posted

Has anyone come across a method to have scripts be executed on and by a remote machine (server), but initiated from a local system script?

Currently I have to execute the script across the network by the local system and it is very slooow.

Many thanks for any insights

Michael

Posted

There are a couple of methods. Which one you use depends upon whether the host machine is running a client copy of FM or FM Server.

1) If the host is running a client copy of FM, you can use the Status(CurrentMulitUserStatus) function to detect the host and a plug-in such as Activator or a looping script to trigger the script.

2) If the host is FM Server, Server does not run scripts. You will need to use Server's built in scheduler to trigger a system scripting language such as AppleScript to Close Server, open your file(s) with a Client copy of FM, run your script, close the client copy of FM, and finally reopen your files with FM Server.

-bd

Posted

If the script is processing lots of data -- like summary fields or unstored calculations -- then performing them on the server is not an option. (Something like an export or replace might be possible.) Instead try to speed up the network connection, or use FM Server on the host.

This topic is 8429 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.