Hi all,
I need help on this one please.
I have an old VB6 application that runs well for my client. It includes an auto reminder for their clients to keep appointments. Appointment reminders are sent via web based bulk SMS service. For this to happen, i created a small app on the server:
1.. All reminders are written in a database table with 'time for delivery'.
2.. The app loops through the database to find list of messages to be sent and their corresponding 'time for delivery'
3.. If 'time for delivery is = current time, then the app posts all the messages for that time via HTTP Post to the SMS service provider's website.
With this, the message server is always on the internet. This has been running very well for years now.
But now the client is having issues with the app due to their relocation to a new place where internet service is very poor.
As a solution, I created an app that writes all messages to a web based db server when ever there is internet access. The next thing is a way to have a script on same server to loop through this table and send the messages from time to time.
I have chosen B4X server as an option that can achieve this since it should be able to run on its own, however, how to achieve the timed loop and send the HTTP message is my problem. The message, I can work around, the loop - i'm lost.
Please help me achieve this.
Thanks in advance.
I need help on this one please.
I have an old VB6 application that runs well for my client. It includes an auto reminder for their clients to keep appointments. Appointment reminders are sent via web based bulk SMS service. For this to happen, i created a small app on the server:
1.. All reminders are written in a database table with 'time for delivery'.
2.. The app loops through the database to find list of messages to be sent and their corresponding 'time for delivery'
3.. If 'time for delivery is = current time, then the app posts all the messages for that time via HTTP Post to the SMS service provider's website.
With this, the message server is always on the internet. This has been running very well for years now.
But now the client is having issues with the app due to their relocation to a new place where internet service is very poor.
As a solution, I created an app that writes all messages to a web based db server when ever there is internet access. The next thing is a way to have a script on same server to loop through this table and send the messages from time to time.
I have chosen B4X server as an option that can achieve this since it should be able to run on its own, however, how to achieve the timed loop and send the HTTP message is my problem. The message, I can work around, the loop - i'm lost.
Please help me achieve this.
Thanks in advance.