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

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

Recommended Posts

  • Newbies
Posted

Hi Everybody,

I need to "throttle" a server side script by somehow inserting a Pause for X seconds into a loop. I see that the Pause Step is unsupported server side. Any ideas?

  • Newbies
Posted

Hi Lee,

Setup is on Server 9 Mac.

A server script looks for batches of emails that need to be sent based on a status field. A batch could contain hundreds of emails, based on join records. Each is sent as an individual "To" email.

(I could change the Server Script to look for these join records now that I think about it, but I'm looking for an option that I can implement without a lot of new scripting. Also, do I really want a FMP Server script running every 5 second? No.)

We are using the 360Works SMTP pluign, server side, which works great, but I need to slow down the process to get along with an Exchange Server which does not like the load. Modifying Exchange may be an option, but of course I'd rather have Filemaker cooperate better.

Posted

Maybe you could have a pointless loop in your script to burn some time - maybe 10,000 loops? Albeit I think this would also take processor time too.

Posted

Maybe you could have a pointless loop in your script to burn some time - maybe 10,000 loops? Albeit I think this would also take processor time too.

10,000 loops would take an indeterminate amount of time. You could capture the start time and then loop until a specified number of seconds had passed, however you're not going to be happy with that approach. FMS performance will degrade noticeably while it's doing "nothing."

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