Quiz attempted shows Admin user via CLI in logs

Quiz attempted shows Admin user via CLI in logs

Ahmer Khan írta időpontban
Válaszok szám: 2
Hi, we had an incident lately and we know what the issue is but cannot pin down on the exact details. Following are the events in sequence:
  1. Trainer starts the course, users log in along with him.
  2. One user enters the Quiz before the course was completed.
  3. The trainer blocks access to the course for everyone as it gets postponed for a later date.
  4. Admin realizes that the quiz has been marked completed by the Admin himself and that all the other 6 quizes also have the same log against them (image1).
  5. On checking the logs of the Admin User, we see an entry at the same time performing the same action with the Origin as CLI (image2).
  6. While the User logs say he attempted and finished the quiz at the very same time as well.
The Admin has never accessed this course during that time. What could possibly be the reason for this attempt being marked finished and the log showing Admin's name against it?

I know CLI is usually a system generated log from cron jobs, etc but can you pin down the exact cron or system event which caused this log entry?
image1.png csatolmány
image2.png csatolmány
Értékelések átlaga: -
Válasz erre: Ahmer Khan

Re: Quiz attempted shows Admin user via CLI in logs

Tim Hunt írta időpontban
Kép Kép Kép Kép Kép
The CLI sript that is doing this is Moodle scheduled tasks system. Depending on the quiz settings, that will automatically close the attempt when time runs out. And, normally, actions peformed by scheduled tasks are recorded as having been done by the admin.

I hope that explains what you are seeing.
Értékelések átlaga:Useful (1)