Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.
/lib/classes/task/
FolderUp one level  
Fileadhoc_task.php                            [source] [174 lines]   Adhoc task abstract class. All background tasks should extend this class.
Fileanalytics_cleanup_task.php                [source] [60 lines]    A scheduled task.
Fileantivirus_cleanup_task.php                [source] [62 lines]    Clean up task for core antivirus
Fileasynchronous_backup_task.php              [source] [93 lines]    Adhoc task that performs asynchronous backups.
Fileasynchronous_copy_task.php                [source] [213 lines]   Adhoc task that performs asynchronous course copies.
Fileasynchronous_restore_task.php             [source] [98 lines]    Adhoc task that performs asynchronous restores.
Fileautomated_backup_task.php                 [source] [52 lines]    A scheduled task.
Filebackup_cleanup_task.php                   [source] [82 lines]    A scheduled task.
Filebadges_cron_task.php                      [source] [94 lines]    A scheduled task.
Filebadges_message_task.php                   [source] [67 lines]    A scheduled task.
Fileblog_cron_task.php                        [source] [67 lines]    A scheduled task.
Filebuild_installed_themes_task.php           [source] [54 lines]    Adhoc task that builds and caches all of the site's installed themes.
Filecache_cleanup_task.php                    [source] [50 lines]    A scheduled task.
Filecache_cron_task.php                       [source] [48 lines]    A scheduled task.
Filecalendar_cron_task.php                    [source] [81 lines]    A scheduled task.
Filecalendar_fix_orphaned_events.php          [source] [73 lines]    Adhoc task handling fixing of events that have had their userid lost.
Filecheck_for_updates_task.php                [source] [54 lines]    A scheduled task.
Fileclean_up_deleted_search_area_task.php     [source] [53 lines]    Adhoc task that clean up data related ro deleted search area.
Filecomplete_plans_task.php                   [source] [68 lines]    Complete plans task.
Filecompletion_daily_task.php                 [source] [171 lines]   A scheduled task.
Filecompletion_regular_task.php               [source] [71 lines]    A scheduled task.
Filecontext_cleanup_task.php                  [source] [54 lines]    A scheduled task.
Filecourse_backup_task.php                    [source] [97 lines]    Adhoc task that performs single automated course backup.
Filecreate_contexts_task.php                  [source] [50 lines]    Scheduled task class.
Filedatabase_logger.php                       [source] [173 lines]   Database logger for task logging.
Filedelete_incomplete_users_task.php          [source] [73 lines]    A scheduled task.
Filedelete_unconfirmed_users_task.php         [source] [64 lines]    Scheduled task abstract class.
Filefile_temp_cleanup_task.php                [source] [122 lines]   A scheduled task.
Filefile_trash_cleanup_task.php               [source] [51 lines]    A scheduled task.
Filefix_file_timestamps_task.php              [source] [38 lines]    
Filegrade_cron_task.php                       [source] [91 lines]    A scheduled task.
Filegrade_history_cleanup_task.php            [source] [67 lines]    A scheduled task.
Fileh5p_clean_orphaned_records_task.php       [source] [74 lines]    
Fileh5p_get_content_types_task.php            [source] [78 lines]    Task to get the latest content types from the official H5P repository.
Filehide_ended_courses_task.php               [source] [52 lines]    
Filelogging_trait.php                         [source] [112 lines]   This file defines a trait to assist with logging in tasks.
Filelogmanager.php                            [source] [352 lines]   Task log manager.
Filemanager.php                               [source] [1707 lines]  Scheduled and adhoc task management.
Filemessaging_cleanup_task.php                [source] [77 lines]    A scheduled task.
Filepassword_reset_cleanup_task.php           [source] [58 lines]    A scheduled task.
Fileplagiarism_cron_task.php                  [source] [65 lines]    A scheduled task.
Fileportfolio_cron_task.php                   [source] [78 lines]    A scheduled task.
Filequestion_preview_cleanup_task.php         [source] [75 lines]    Task to cleanup old question previews.
Filerefresh_mod_calendar_events_task.php      [source] [77 lines]    Adhoc task that updates all of the existing calendar events for modules that implement the *_refresh_events() hook.
Fileregistration_cron_task.php                [source] [48 lines]    A scheduled task.
Filescheduled_task.php                        [source] [703 lines]   Scheduled task abstract class.
Filesearch_index_task.php                     [source] [72 lines]    A scheduled task for global search.
Filesearch_optimize_task.php                  [source] [61 lines]    A scheduled task for global search.
Filesend_failed_login_notifications_task.php  [source] [190 lines]   Scheduled task class.
Filesend_login_notifications.php              [source] [96 lines]    
Filesend_new_user_passwords_task.php          [source] [79 lines]    Scheduled task class.
Filesession_cleanup_task.php                  [source] [57 lines]    Scheduled task abstract class.
Fileshow_started_courses_task.php             [source] [149 lines]   
Filestats_cron_task.php                       [source] [62 lines]    A scheduled task.
Filesync_plans_from_template_cohorts_task.php [source] [71 lines]    Synchronise plans from template cohorts.
Filetag_cron_task.php                         [source] [271 lines]   A scheduled task.
Filetask_base.php                             [source] [297 lines]   Abstract class for common properties of scheduled_task and adhoc_task.
Filetask_lock_cleanup_task.php                [source] [53 lines]    Cleanup adhoc task metadata.
Filetask_log_cleanup_task.php                 [source] [57 lines]    Task to cleanup task logs.
Filetask_logger.php                           [source] [71 lines]    Interface for task logging.