Share This Post:

Refresh appointments through command line

We put together a script to generate cancellations report from AutoReminder and everything works fine except one thing: when AutoReminder application stays open, it won’t refresh data for the next day in the reports, as a result we can’t generate the correct cancellations. Is there any way have application auto-refresh, so it’ll load the current data? If AutoReminder is closed, then we can’t use http functions to access it

When AutoReminder is running as a server, it asumes every access (add, remove, edit, and report) is through its web interface or GUI; thus, there is no need to refresh the appointments once it is started. If you use the command line to add appointments, it simply adds appointment data to the file system.

For most applications, developers use either the web interface or command line interface. It is not recommended to use mixed interfaces for the reason mentioned above.

However, if you do need to use command line and web interface, you should execute the command line through the AutoReminder client program. Here is how you should implement this:

1). Run AutoReminder as server

2). If you want to run command line on a computer other than the server computer, install Voicent AutoReminder as client (no gateway). Or if you want to run command line on the server computer, make a copy of the AutoReminder folder under C:\Program Files\Voicent\gateway. Name the new folder like AutoReminderClient, For Window Vista or 7, you may also make a copy of the AutoReminder folder under C:\Program Data\Voicent.

3). Run AutoReminderClient\bin\Aptbook.exe, select View > Setup Client Server. Set run as client, save, and exit.

4). Rerun AutoReminderClient\bin\Aptbook.exe and make sure it is now running as a client. Add an appointment and you should see that reflected on the server AutoReminder.

5). Now execute your command line through AutoReminderClient\bin\Aptbook.exe. Since it is a client version, all updates to the appointments will be reflected in the server version.

Share This Post:

This entry was posted in Appointment Reminder, Developer. Bookmark the permalink.