Using Geo Service with a timed job

Once the support for external connections has been released into CBL would it be possible to implement the following:

Use CBL scheduled job to get latitude/longitude for an entity from an external API (most likely REST).
Within that CBL job, compare the lat/long with a list of pre-registered GeoPoints and calculate the distance between the two.
If the distance is below a certain threshold, send out a Push notification. (I’m pretty sure this last part is already doable).

Hi Simon,

Yes, this would be definitely possible:

    Use CBL scheduled job to get latitude/longitude for an entity from an external API (most likely REST).

    Should not be a problem since you will be able to add an external host.

    Within that CBL job, compare the lat/long with a list of pre-registered GeoPoints and calculate the distance between the two.

    You would need to use the search in radius API call. The coordinates of the point from (1) would be used as the center of the search. Backendless automatically calculates the distance for all found geo points:
    http://backendless.com/documentation/geo/android/geo_radius_based_search.htm

    If the distance is below a certain threshold, send out a Push notification. (I’m pretty sure this last part is already doable).
    Yes, this is possible as well - just a simple call to publish a message as a push notification.

Regards, Mark