Adhere SMS Weather Forecast Operation Guide

Input File
Create a tab separated file (e.g. input.txt) that contains the numbers to which the SMSes are to be sent. The input file has the following format:
<mobile number> <first name> <last name> <city>
A sample input file is included with the application compressed package.

Operation
Run the jar file with the following command:
java -jar AdhereWeatherForecast.jar <config file> <input file>
This service can be configured to run periodically. We provide an example for running the service once a day on Linux. The cron job shown below runs the Weather Forecast Service once a day at 8 pm:
crontab -e
This will open your default editor. Append the following line.
0 20 * * * java -jar <full path of jar file> <config file> <input file>
Then save and exit.

Note: Adhere Weather Forecast Service utilizes Google Weather APIs and supports only cities that are supported by Google Weather Service.