Note: You are currently viewing documentation for Moodle 2.6. Up-to-date documentation for the latest stable version of Moodle may be available here: Cleanup.

Cleanup: Difference between revisions

From MoodleDocs
(descriptions)
m (changed Settings to Administration)
 
(17 intermediate revisions by 9 users not shown)
Line 1: Line 1:
Location: ''Administration > Server > Cleanup''
{{Server settings}}
An administrator can limit the size of certain tables in the database by setting appropriate options in '' Administration> Site administration > Server > Cleanup''.


==Unsubscribe users from courses after==
==Delete unconfirmed users after==


To help keep course rosters organized, you can tell Moodle to unenrol any student who hasn't logged in for a certain amount of time. Be sure to keep this time long enough so students aren't unenrolled accidentally while they still need access to the course.
If you're using [[Email-based self-registration]] users must confirm their account within a certain time-frame. Once the time set here has passed, any account that hasn't been confirmed will be deleted. 7 days is a good setting.


==Delete unconfirmed users after==
==Delete incomplete users after==
 
The period after which old not-fully-set-up accounts are deleted may be set (from 1 day to never).


If you're using email account confirmation users must confirm their account within a certain time-frame. Once the time set here has passed, any account that hasn't been confirmed will be deleted. 7 days is a good setting.
(What is the definition of a "not-fully-set-up account"? What criteria needs to be met for an account to be fully-set-up?)


==Keep logs for==
==Keep logs for==
Line 13: Line 16:
Moodle keeps extensive logs of user activity. Eventually, however, the logs will become so large that they begin to clog your server. Limiting the length of time logs are kept for will reduce database table size. Generally, a year is enough time to keep logs for.
Moodle keeps extensive logs of user activity. Eventually, however, the logs will become so large that they begin to clog your server. Limiting the length of time logs are kept for will reduce database table size. Generally, a year is enough time to keep logs for.


[[Category:Administrator]]
==Disable grade history==
 
History tracking of changes in grades-related tables may be disabled by checking the ''disablegradehistory'' box.
 
==Grade history lifetime==
 
The length of time that the history of changes in grade-related tables is kept may be set (from 30 days to never).
 
 
Note: For users who have upgraded to Moodle 2 from 1.9, the setting 'Unsubscribe users from courses after' in Cleanup has been replaced by 'Unenrol inactive after' in [[Self enrolment]]. i.e. the setting now applies ONLY to users who self-enrolled.
 
==See also==
 
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=87795 How do I prune mdl_log table?] forum discussion
 
[[eu:Garbiketa]]
[[fr:Nettoyage]]
[[ja:クリーンアップ]]
[[de:Aufräumarbeiten]]
[[es:Limpieza]]

Latest revision as of 07:50, 30 May 2014

An administrator can limit the size of certain tables in the database by setting appropriate options in Administration> Site administration > Server > Cleanup.

Delete unconfirmed users after

If you're using Email-based self-registration users must confirm their account within a certain time-frame. Once the time set here has passed, any account that hasn't been confirmed will be deleted. 7 days is a good setting.

Delete incomplete users after

The period after which old not-fully-set-up accounts are deleted may be set (from 1 day to never).

(What is the definition of a "not-fully-set-up account"? What criteria needs to be met for an account to be fully-set-up?)

Keep logs for

Moodle keeps extensive logs of user activity. Eventually, however, the logs will become so large that they begin to clog your server. Limiting the length of time logs are kept for will reduce database table size. Generally, a year is enough time to keep logs for.

Disable grade history

History tracking of changes in grades-related tables may be disabled by checking the disablegradehistory box.

Grade history lifetime

The length of time that the history of changes in grade-related tables is kept may be set (from 30 days to never).


Note: For users who have upgraded to Moodle 2 from 1.9, the setting 'Unsubscribe users from courses after' in Cleanup has been replaced by 'Unenrol inactive after' in Self enrolment. i.e. the setting now applies ONLY to users who self-enrolled.

See also