Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.
/admin/cli/
FolderUp one level  
Fileadhoc_task.php                       [source] [174 lines]   Task executor for adhoc tasks.
Filealternative_component_cache.php      [source] [111 lines]   This hack is intended for clustered sites that do not want to use shared cachedir for component cache.
Fileautomated_backups.php                [source] [98 lines]    Automated backups CLI cron
Filebackup.php                           [source] [119 lines]   This script allows to do backup.
Filebuild_theme_css.php                  [source] [119 lines]   Build and store theme CSS.
Filecfg.php                              [source] [185 lines]   CLI script allowing to get and set config values.
Filecheck_database_schema.php            [source] [76 lines]    Validate that the current db structure matches the install.xml files.
Filechecks.php                           [source] [171 lines]   CLI tool for system checks
Filecron.php                             [source] [186 lines]   CLI cron
Filedashboard_reset.php                  [source] [65 lines]    CLI script to reset dashboards.
Filedelete_course.php                    [source] [123 lines]   CLI script to delete a course.
Fileemailstop.php                        [source] [209 lines]   This script allows you to view and change the emailstop flag of any user.
Filefix_course_sequence.php              [source] [125 lines]   This script fixed incorrectly deleted users.
Filefix_deleted_users.php                [source] [92 lines]    This script fixed incorrectly deleted users.
Filefix_orphaned_calendar_events.php     [source] [138 lines]   Fix orphaned calendar events that were broken by MDL-67494.
Filefix_orphaned_question_categories.php [source] [103 lines]   This script fixes orphaned question categories.
Filegenerate_key.php                     [source] [79 lines]    Generates a secure key for the current server (presuming it does not already exist).
Fileinstall.php                          [source] [859 lines]   This script creates config.php file and prepares database.
Fileinstall_database.php                 [source] [207 lines]   This installs Moodle into empty database, config.php must already exist.
Filekill_all_sessions.php                [source] [55 lines]    CLI script to kill all user sessions without asking for confirmation.
Filemaintenance.php                      [source] [112 lines]   Enable or disable maintenance mode.
Filemysql_collation.php                  [source] [328 lines]   MySQL collation conversion tool.
Filemysql_compressed_rows.php            [source] [202 lines]   MySQL table row compression tool tool.
Filepurge_caches.php                     [source] [76 lines]    CLI script to purge caches without asking for confirmation.
Filereset_password.php                   [source] [108 lines]   This script allows you to reset any local user password.
Filerestore_backup.php                   [source] [109 lines]   This script allows to restore a course from CLI.
Filescheduled_task.php                   [source] [167 lines]   CLI task execution.
Filesvgtool.php                          [source] [182 lines]   This script implements some useful svg manipulation tricks.
Fileuninstall_plugins.php                [source] [183 lines]   CLI script to uninstall plugins.
Fileupgrade.php                          [source] [319 lines]   This script creates config.php file and prepares database.