mwin1201 / fpl-draft-2022

FPL Draft website to track league team performance stats
2 stars 1 forks source link

Experiment with CronJobs #140

Closed mwin1201 closed 10 months ago

mwin1201 commented 10 months ago

Cron Jobs could be the key to pulling API data from the FPL site and writing it to the database without needing user interaction to pull data

mwin1201 commented 10 months ago

questions:

  1. when to run the cron jobs
  2. what data and actions should it perform -- thinking it could check if the current gameweek is still active or completed -- IF completed it would calculate the gameweek stats for all teams and push to database