Closed Ayushk4 closed 5 years ago
This issue is low priority and can be done by the end of this month as leaderboard gets active after 7th and coding period begins on 1st.
@shreyas-kowshik I guess we can do this in the app.py
itself. See https://code.tutsplus.com/tutorials/managing-cron-jobs-using-python--cms-28231
I'll close this when we've added the cron action to server.
Okay :+1:
Cronjob has been setup.
Since we will be having a user login, and a dashboard, we must regularly update the activity of the user. A crob job has to be scheduled to extract the same from github API (REST or GraphQL). The rate limit for the API has to be taken into consideration for setting the frequency of job. As for REST it has 5000 per hour limit for basic authentication.