codeforsanjose / smelly-cat

Better searching and visualizing of the Trash Pickup Days data across San Jose
MIT License
5 stars 2 forks source link

Create a scheduler function on Node server to read from Firebase #23

Open jkanive opened 8 years ago

jkanive commented 8 years ago

We need to create a scheduler function(cron job) to run on the Node server which will do the following things.

  1. Read from Firebase and get the Phone.
  2. Send SMS via Twilio API if the time matches the current time. Need to decide and build the best possible logic to read the population from Firebase instead of going thru all the records everytime.