November 17, 200916 yr Newbies 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?
November 17, 200916 yr Author Newbies 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.
November 17, 200916 yr 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.
November 17, 200916 yr 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."
Create an account or sign in to comment