Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
task Directory Reference

Files

 adhoc_task.php
 Adhoc task abstract class.
 
 analytics_cleanup_task.php
 A scheduled task.
 
 antivirus_cleanup_task.php
 Clean up task for core antivirus.
 
 asynchronous_backup_task.php
 Adhoc task that performs asynchronous backups.
 
 asynchronous_copy_task.php
 Adhoc task that performs asynchronous course copies.
 
 asynchronous_restore_task.php
 Adhoc task that performs asynchronous restores.
 
 automated_backup_task.php
 A scheduled task.
 
 backup_cleanup_task.php
 A scheduled task.
 
 badges_cron_task.php
 A scheduled task.
 
 badges_message_task.php
 A scheduled task.
 
 blog_cron_task.php
 A scheduled task.
 
 build_installed_themes_task.php
 Adhoc task that builds and caches all of the site's installed themes.
 
 cache_cleanup_task.php
 A scheduled task.
 
 cache_cron_task.php
 A scheduled task.
 
 calendar_cron_task.php
 A scheduled task.
 
 calendar_fix_orphaned_events.php
 Adhoc task handling fixing of events that have had their userid lost.
 
 check_for_updates_task.php
 A scheduled task.
 
 clean_up_deleted_search_area_task.php
 Adhoc task that clean up data related ro deleted search area.
 
 complete_plans_task.php
 Complete plans task.
 
 completion_daily_task.php
 A scheduled task.
 
 completion_regular_task.php
 A scheduled task.
 
 context_cleanup_task.php
 A scheduled task.
 
 course_backup_task.php
 Adhoc task that performs single automated course backup.
 
 create_contexts_task.php
 Scheduled task class.
 
 database_logger.php
 Database logger for task logging.
 
 delete_incomplete_users_task.php
 A scheduled task.
 
 delete_unconfirmed_users_task.php
 Scheduled task abstract class.
 
 file_temp_cleanup_task.php
 A scheduled task.
 
 file_trash_cleanup_task.php
 A scheduled task.
 
 fix_file_timestamps_task.php
 Retroactively fixes file timestamps that are older than the containing folder record.
 
 grade_cron_task.php
 A scheduled task.
 
 grade_history_cleanup_task.php
 A scheduled task.
 
 h5p_clean_orphaned_records_task.php
 A schedule task to clean orphaned h5p records (for example for deleted activity).
 
 h5p_get_content_types_task.php
 Task to get the latest content types from the official H5P repository.
 
 legacy_plugin_cron_task.php
 Scheduled task class.
 
 logging_trait.php
 This file defines a trait to assist with logging in tasks.
 
 logmanager.php
 Task log manager.
 
 manager.php
 Scheduled and adhoc task management.
 
 messaging_cleanup_task.php
 A scheduled task.
 
 password_reset_cleanup_task.php
 A scheduled task.
 
 plagiarism_cron_task.php
 A scheduled task.
 
 portfolio_cron_task.php
 A scheduled task.
 
 question_preview_cleanup_task.php
 Task to cleanup old question previews.
 
 refresh_mod_calendar_events_task.php
 Adhoc task that updates all of the existing calendar events for modules that implement the *_refresh_events() hook.
 
 registration_cron_task.php
 A scheduled task.
 
 scheduled_task.php
 Scheduled task abstract class.
 
 search_index_task.php
 A scheduled task for global search.
 
 search_optimize_task.php
 A scheduled task for global search.
 
 send_failed_login_notifications_task.php
 
 send_login_notifications.php
 
 send_new_user_passwords_task.php
 Scheduled task class.
 
 session_cleanup_task.php
 Scheduled task abstract class.
 
 stats_cron_task.php
 A scheduled task.
 
 sync_plans_from_template_cohorts_task.php
 Synchronise plans from template cohorts.
 
 tag_cron_task.php
 A scheduled task.
 
 task_base.php
 Abstract class for common properties of scheduled_task and adhoc_task.
 
 task_lock_cleanup_task.php
 Cleanup adhoc task metadata.
 
 task_log_cleanup_task.php
 Task to cleanup task logs.
 
 task_logger.php
 Interface for task logging.