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

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

Recommended Posts

Posted

In order to take the load from the clients, I would like to tell the server manually (button or external applescript) to run a script.

Is there any way to do that?

Thank you for your short thoughts

Posted

If the file is hosted in FM Server then create a server-side script -- though server scripts have some limitations. Otherwise set up a "robot" machine running FMP and have it run the script every so often.

Posted

it is hosted on a server machine, and i'm used to server-side scripts. but: i want to tell the server to run a script - at any given time, not at a scheduled time.

robot is unfortunately not a possible solution

Posted

You can manually run a script through the server admin console.

Otherwise, set up a field in a prefs table. Configure the server side script to fire every X minutes and check the field, but only do the processing if the field has the right value in it.

I set up an e-mail processing script for clients that runs on the server every 15 minutes. The script performs a find for unprocessed records: if it finds some it sends the messages, if it finds none it does nothing.

  • Like 1
Posted

Server power as in electricity? or as in cpu cycles? Either case I dunno. I'd rather not have the server popping off and running scripts every 2 minutes though (imagine if every file needed a script like this...)

Best to ask what length of wait would be unacceptable and start at once a day and work backwards.

With the client that I mentioned above, running the mail send script every 30 minutes turned out to have the bonus benefit of (usually) allowing time to un-send e-mails.

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