Automatically reconnecting to remote host
Posted: Tue Nov 08, 2016 8:14 am
I've set up my Calendar with a "data separation" model. The interface runs locally for many users, while the data is hosted by a Filemaker Pro hosting service (Datatrium).
From time to time the Calendar "looses contact with the host" due to internet connection problems, and displays a Filemaker Pro dialog to that effect. The only recourse at that point is a restart of that instance of the Calendar.
This is especially problematic for an instance of our Calendar whose sole function is to run a script that sends out text messages to our clients reminding them of their appointments, as well as summaries of the next day's schedule emailed to each provider at the end of the day. It may run unattended for many days at a time (up to two weeks, so far), but may go down unpredictably due to connection problems. Sometimes we miss that.
Is it possible to capture this error and trigger a script that effects the required restart? Short of that, to capture this error in order to trigger a script that alerts me via email/text message that our "reminder server" has lost it's connection?
Any guidance you can give on such a recovery will be appreciated.
We are running a Calendar derived from 5.6 and running on Filemaker Pro 11.
Thank you!
From time to time the Calendar "looses contact with the host" due to internet connection problems, and displays a Filemaker Pro dialog to that effect. The only recourse at that point is a restart of that instance of the Calendar.
This is especially problematic for an instance of our Calendar whose sole function is to run a script that sends out text messages to our clients reminding them of their appointments, as well as summaries of the next day's schedule emailed to each provider at the end of the day. It may run unattended for many days at a time (up to two weeks, so far), but may go down unpredictably due to connection problems. Sometimes we miss that.
Is it possible to capture this error and trigger a script that effects the required restart? Short of that, to capture this error in order to trigger a script that alerts me via email/text message that our "reminder server" has lost it's connection?
Any guidance you can give on such a recovery will be appreciated.
We are running a Calendar derived from 5.6 and running on Filemaker Pro 11.
Thank you!