moodle-logstore_xapi icon indicating copy to clipboard operation
moodle-logstore_xapi copied to clipboard

Can we schedule emit record to LRS automatically in moodle ? Is there any way to run scheduled Task after some specific time.

Open nimbalkarmadhuri opened this issue 3 years ago • 3 comments

Description

  • Sending Emit records to LRS in scheduled Task by specifying values to run automatically.
  • Specified values are - emit_record

Server time and Timestamp given in the scheduled task is not matching. how to correct the timestamp according to server time. It is not fetching server time automatically.

Version

  • moodle version 3.9.5+ (Build: 20210312)

Expected behavior

  • Script should run after 1 minute. but need to click on run now option every time.
  • Server time and Timestamp given here is not matching. how to correct the timestamp according to server time. It is not fetching server time automatically.

nimbalkarmadhuri avatar Jun 08 '21 12:06 nimbalkarmadhuri

Yes, in Site administration > Plugins > Logging > Logstore xAPI you'll have the following settings: image

Then you can adjust the timing within Moodle's Scheduled Tasks section.

davidpesce avatar Jun 08 '21 13:06 davidpesce

Checked settings given by you , Solution is not working.

nimbalkarmadhuri avatar Jun 09 '21 05:06 nimbalkarmadhuri

Do you have cron setup at the system level @nimbalkarmadhuri ? https://docs.moodle.org/311/en/Cron

gordonmacqueen-lp avatar Jun 09 '21 08:06 gordonmacqueen-lp

Closing due to inactivity and cleaning up. If this is still an issue, please reopen and provide additional details.

davidpesce avatar Oct 04 '22 20:10 davidpesce