We have this Moodle 3.4 that is integrated with client's student page. Students access the Moodle page from the student portal, we have this SSO login script that does the student login authentication.
We noticed that upon login into the Moodle page by the student, the course overview page does not refresh immediately. It takes up to 1 minute to update:
After 1 minute:
We have the cronjob running on the moodle site, but probably because the SSO login is done from external site, I tried to run the cron from the SSO login script with the following line:
shell_exec ("/usr/bin/php /var/www/html/moodle/lms/admin/cli/cron.php >/dev/null")
However this method still does not work. The course overview still takes 1 minute to update on the screen.
Can someone pls guide me what am i missing here?