2 // This file is part of Moodle - http://moodle.org/
4 // Moodle is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
9 // Moodle is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License
15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 * Definition of core scheduled tasks.
20 * The handlers defined on this file are processed and registered into
21 * the Moodle DB after any install or upgrade operation. All plugins
26 * @copyright 2013 Damyon Wiese
27 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30 defined('MOODLE_INTERNAL') ||
die();
32 /* List of handlers */
36 'classname' => 'core\task\session_cleanup_task',
45 'classname' => 'core\task\delete_unconfirmed_users_task',
54 'classname' => 'core\task\delete_incomplete_users_task',
63 'classname' => 'core\task\backup_cleanup_task',
72 'classname' => 'core\task\tag_cron_task',
81 'classname' => 'core\task\context_cleanup_task',
90 'classname' => 'core\task\cache_cleanup_task',
99 'classname' => 'core\task\messaging_cleanup_task',
108 'classname' => 'core\task\send_new_user_passwords_task',
117 'classname' => 'core\task\send_failed_login_notifications_task',
126 'classname' => 'core\task\create_contexts_task',
135 'classname' => 'core\task\grade_cron_task',
144 'classname' => 'core\task\grade_history_cleanup_task',
153 'classname' => 'core\task\completion_regular_task',
162 'classname' => 'core\task\completion_daily_task',
171 'classname' => 'core\task\portfolio_cron_task',
180 'classname' => 'core\task\plagiarism_cron_task',
189 'classname' => 'core\task\calendar_cron_task',
198 'classname' => 'core\task\blog_cron_task',
207 'classname' => 'core\task\question_preview_cleanup_task',
216 'classname' => 'core\task\registration_cron_task',
225 'classname' => 'core\task\check_for_updates_task',
234 'classname' => 'core\task\cache_cron_task',
243 'classname' => 'core\task\automated_backup_task',
252 'classname' => 'core\task\badges_cron_task',
261 'classname' => 'core\task\badges_message_task',
270 'classname' => 'core\task\file_temp_cleanup_task',
279 'classname' => 'core\task\file_trash_cleanup_task',
288 'classname' => 'core\task\search_index_task',
297 'classname' => 'core\task\search_optimize_task',
306 'classname' => 'core\task\stats_cron_task',
315 'classname' => 'core\task\password_reset_cleanup_task',
324 'classname' => 'core\task\complete_plans_task',
333 'classname' => 'core\task\sync_plans_from_template_cohorts_task',
342 'classname' => 'core_files\task\conversion_cleanup_task',
351 'classname' => 'core\oauth2\refresh_system_tokens_task',
360 'classname' => 'core\task\analytics_cleanup_task',
369 'classname' => 'core\task\task_log_cleanup_task',
378 'classname' => 'core\task\h5p_get_content_types_task',
387 'classname' => 'core\task\h5p_clean_orphaned_records_task',
396 'classname' => 'core\task\antivirus_cleanup_task',
405 'classname' => 'core_reportbuilder\task\send_schedules',
414 'classname' => 'core\task\task_lock_cleanup_task',
423 'classname' => 'core_xapi\task\state_cleanup_task',
432 'classname' => 'core\task\show_started_courses_task',
442 'classname' => 'core\task\hide_ended_courses_task',
452 'classname' => 'core_communication\task\synchronise_providers_task',
461 'classname' => 'core\task\automated_backup_report_task',