Statistics

General Notes

  • Statistics enabled at Site Administration --> Advanced Features --> Statistics
  • Statistics configuration is done under Site Administration --> Server --> Statistics
  • Statistics are gathered by the cron job that runs hourly
  • The value is set to process at most 31 days during each run to limit server load.  Once processed, stats are processed from the previous day.
  • Values controlling statistics process are stored in database table mdl_config (select * from mdl_config where name like 'stats%')
  • To force a statistics run, set statslastdaily AND statslastexecutiion to 0, then run the php script "MOODLEBASE/admin/cli/cron.php"

 

Taxonomy: