Introduction
Introduction
About
- A
scheduled cron job
has been implemented to perform the task offetching the user's GitHub profile data
every day at12:00 AM
. This ensures that the data isupdated consistently
, providing the most recent information whenever a user interacts with our analysis endpoints.
Flow
Scheduler Folder Structure
Controller
VersionManager/
|-- Scheduler/
| | -- /profile.scheduler.js
info
- To ensure the proper functioning of
schedulers
anddata retrieval
from the user's GitHub profile, I've createdseveral helper functions
designed to fetch data such asfollowers, following, new repositories
, etc. These functions arecalled within our scheduler jobs
to keep thedata up-to-date
.