Course overview block does not update immediately

Course overview block does not update immediately

by T K -
Number of replies: 4

Hi All,

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:

course overview

After 1 minute:

course overview 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?


Thanks.


Average of ratings: -
In reply to T K

Re: Course overview block does not update immediately

by T K -

Anyone can help?

In reply to T K

Re: Course overview block does not update immediately

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hasn't this being reposted here https://moodle.org/mod/forum/discuss.php?d=413138 and got answered?
In reply to Visvanath Ratnaweera

Re: Course overview block does not update immediately

by T K -
I got an answer but not really a solution. If someone had similar experience i am hoping they can share with me how they managed it.
In reply to T K

Re: Course overview block does not update immediately

by T K -
Anyone can help with this issue?