vlead / vlabs-openedx-platform

Other
1 stars 0 forks source link

push openedx user analytics into analytics-db #29

Open ksripathi opened 6 years ago

ksripathi commented 6 years ago

Since there is no api to get all registered, active and inactive users in openedX platform. script implemented which gets the registered, active and inactive users from the database and stores into analytics-db

sivashankerN commented 6 years ago

Set cronjob to run the [script](https://github.com/vlead/vlabs-analytics-service/blob/master/src/deployment/index.org#script-to-get-openedx-user-analytics

0 23 * * * python /root/vlabs-analytics-service/build/code/deployment/openedx-users-analytics.py

This cronjob is set in OpenedX platform in root account

check the cronjobs using cronjob -l

ksripathi commented 6 years ago

@sivashankerN

Above cronjob is not happening can you please look into it

sivashankerN commented 6 years ago

because cronjob runs yesterday 23:00, and we are looking for today's analytics. changing cronjob to every one hour might help us.