armno/c

use cron to fetch data from strava periodically

Closed this issue · 1 comments

armno commented
  • instead of conditionally fetch data from Strava in the code, use cron to periodically fetch data from Strava and create new record at a time in the DB
  • let's say 1 fetch per day
  • this should be useful to generate graphical progress in the future (e.g. charts)

  • create another node script (independent from express) to fetch data from Strava and update into the db
  • set up cronjob
  • email to me