catalyst / moodle-fileconverter_librelambda

A Libre Office document converter for Moodle leveraging AWS Lambda
https://moodle.org/plugins/fileconverter_librelambda
Other
23 stars 18 forks source link

events from cron execution are logged under the wrong user id #32

Open durzo opened 4 years ago

durzo commented 4 years ago

When the task runs via cron, it does not set $USER and events are put into the log table under random users - I think because its remembering whatever the last cron task set it to.

see screenshot attached, users names have been hidden for privacy but they are all different, changing each cron run.

The users that are being logged are not even enrolled in the course.

event_log