{"id":465,"date":"2025-03-18T10:50:51","date_gmt":"2025-03-18T10:50:51","guid":{"rendered":"https:\/\/docs.brickfield.ie\/accessibilitytookit-admin\/?page_id=465"},"modified":"2025-09-25T09:18:10","modified_gmt":"2025-09-25T08:18:10","slug":"cron-and-scheduled-tasks","status":"publish","type":"page","link":"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/cron-and-scheduled-tasks\/","title":{"rendered":"Cron and scheduled tasks"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"465\" class=\"elementor elementor-465\" data-elementor-post-type=\"page\">\n\t\t\t\t<header class=\"elementor-element elementor-element-52ca557 e-flex e-con-boxed e-con e-parent\" data-id=\"52ca557\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d1c2733 elementor-widget elementor-widget-template\" data-id=\"d1c2733\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"template.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-template\">\n\t\t\t\t\t<div data-elementor-type=\"container\" data-elementor-id=\"4821\" class=\"elementor elementor-4821\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t<div class=\"elementor-element elementor-element-45b9365 e-flex e-con-boxed e-con e-parent\" data-id=\"45b9365\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-928bb9e elementor-widget elementor-widget-image\" data-id=\"928bb9e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"811\" height=\"186\" src=\"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-content\/uploads\/sites\/56\/2025\/09\/brickfield-logo-2.png\" class=\"attachment-full size-full wp-image-5266\" alt=\"Brickfield Education Labs\" srcset=\"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-content\/uploads\/sites\/56\/2025\/09\/brickfield-logo-2.png 811w, https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-content\/uploads\/sites\/56\/2025\/09\/brickfield-logo-2-300x69.png 300w, https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-content\/uploads\/sites\/56\/2025\/09\/brickfield-logo-2-768x176.png 768w\" sizes=\"(max-width: 811px) 100vw, 811px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/header>\n\t\t<nav class=\"elementor-element elementor-element-c7867cb e-flex e-con-boxed e-con e-parent\" data-id=\"c7867cb\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-192a93d elementor-widget elementor-widget-text-editor\" data-id=\"192a93d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/\">Home<\/a> &#8211; <a href=\"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/category-using-your-toolkit\/\">Using Your Toolkit<\/a> &#8211; Cron and scheduled tasks<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/nav>\n\t\t<main class=\"elementor-element elementor-element-b6be481 e-con-full e-flex e-con e-parent\" data-id=\"b6be481\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-0557f80 banner e-flex e-con-boxed e-con e-child\" data-id=\"0557f80\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-2073fb4 e-con-full e-flex e-con e-child\" data-id=\"2073fb4\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-15b2c3a elementor-widget elementor-widget-heading\" data-id=\"15b2c3a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Brickfield Enable: Cron and scheduled tasks<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<section class=\"elementor-element elementor-element-949ac3e e-flex e-con-boxed e-con e-child\" data-id=\"949ac3e\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-51b7029 e-con-full e-flex e-con e-child\" data-id=\"51b7029\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ae2805e elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents\" data-id=\"ae2805e\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;exclude_headings_by_selector&quot;:[],&quot;no_headings_message&quot;:&quot;No headings were found on this page.&quot;,&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;],&quot;marker_view&quot;:&quot;numbers&quot;,&quot;minimize_box&quot;:&quot;yes&quot;,&quot;minimized_on&quot;:&quot;tablet&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\" data-widget_type=\"table-of-contents.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__header\">\n\t\t\t\t\t\t<h2 class=\"elementor-toc__header-title\">\n\t\t\t\tTable of Contents\t\t\t<\/h2>\n\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--expand\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__ae2805e\" aria-expanded=\"true\" aria-label=\"Open table of contents\"><svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-chevron-down\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z\"><\/path><\/svg><\/div>\n\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--collapse\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__ae2805e\" aria-expanded=\"true\" aria-label=\"Close table of contents\"><svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-chevron-up\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z\"><\/path><\/svg><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<div id=\"elementor-toc__ae2805e\" class=\"elementor-toc__body\">\n\t\t\t<div class=\"elementor-toc__spinner-container\">\n\t\t\t\t<svg class=\"elementor-toc__spinner eicon-animation-spin e-font-icon-svg e-eicon-loading\" aria-hidden=\"true\" viewBox=\"0 0 1000 1000\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M500 975V858C696 858 858 696 858 500S696 142 500 142 142 304 142 500H25C25 237 238 25 500 25S975 237 975 500 763 975 500 975Z\"><\/path><\/svg>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-73da948 e-con-full e-flex e-con e-child\" data-id=\"73da948\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ba647ff elementor-widget elementor-widget-heading\" data-id=\"ba647ff\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Introduction<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cd4262c elementor-widget elementor-widget-text-editor\" data-id=\"cd4262c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The Brickfield Accessibility+ Toolkit analysis and ongoing processing goes on the assumption that your Moodle site is configured with regularly running cron, as always recommended by Moodle HQ for production sites.<\/p><p>\u00a0<\/p><p>However, if you are using the Brickfield Accessibility+ Toolkit on a test site, this may not be the case. Instead, you may have to manually run cron to trigger the different parts of the processes.<\/p><p>\u00a0<\/p><p>There are three main scheduled tasks which deal with the Brickfield Accessibility+ Toolkit processing of the analysis of the accessibility issues in HTML content.<\/p><p>\u00a0<\/p><p>These are found at Site administration &gt; Server &gt; Tasks &gt; Scheduled tasks.<\/p><ul><li>Process content analysis requests (\\tool_bfplus\\task\\process_analysis_requests).<\/li><li>Process bulk batch accessibility checking (\\tool_bfplus\\task\\bulk_process_courses).<\/li><li>Process bulk caching (\\tool_bfplus\\task\\bulk_process_caches).<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-d8fd878 e-con-full e-flex e-con e-child\" data-id=\"d8fd878\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4d49a35 elementor-widget elementor-widget-image\" data-id=\"4d49a35\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"980\" height=\"345\" src=\"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-content\/uploads\/sites\/56\/2025\/08\/r2-admin-cronandscheduledtasks_image1.png\" class=\"attachment-full size-full wp-image-3937\" alt=\"The Brickfield Accessibility+ toolkit 3 scheduled tasks, the plugin name, component name, pencil icon to edit the task, page icon to view task logs, date it last ran, date it will run next, and frequency of runs.\" srcset=\"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-content\/uploads\/sites\/56\/2025\/08\/r2-admin-cronandscheduledtasks_image1.png 980w, https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-content\/uploads\/sites\/56\/2025\/08\/r2-admin-cronandscheduledtasks_image1-300x106.png 300w, https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-content\/uploads\/sites\/56\/2025\/08\/r2-admin-cronandscheduledtasks_image1-768x270.png 768w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7f755eb elementor-widget elementor-widget-text-editor\" data-id=\"7f755eb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>For more information on the Brickfield Alternate Format scheduled tasks, see: <a href=\"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/alternate-format-scheduled-tasks\/\">Alternate format scheduled tasks.<\/a><\/p><p>\u00a0<\/p><p>The Ad hoc task &#8220;\\tool_bfplus\\task\\process_link&#8221; deals with processing links. To see the adhoc task in the cron output, the Brickfield Accessibility+ Toolkit setting &#8220;Enable performance tracing&#8221; must be enabled. For more information on this setting, see: <a href=\"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/configuration\/\">Configuration<\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c3f57e4 elementor-widget elementor-widget-heading\" data-id=\"c3f57e4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Scheduled tasks and timings<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e496fca elementor-widget elementor-widget-text-editor\" data-id=\"e496fca\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The default timing settings for these three tasks are not identical, they are set to run every 5, 2 and 50 minutes respectively.<\/p><p>\u00a0<\/p><p>However, we do recommend altering these default scheduled task timing intervals to a more frequent run where possible, such as every 1, 2 or 5 minutes, especially at the start of the usage of the toolkit, so that processing and results gathering is done at a faster and more noticeable pace.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3a721d7 elementor-widget elementor-widget-heading\" data-id=\"3a721d7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Running scheduled tasks manually<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f2df749 elementor-widget elementor-widget-text-editor\" data-id=\"f2df749\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>If your Moodle site is enabled to run tasks individually from this page, using the Run now link, you must run them in this exact order, and all of them once, each time, to mirror a normal cron general run. This is due to the separate tasks being in an established progression, one from each other.<\/p><p>\u00a0<\/p><p>However, if you are running cron as one single call, such as running \/admin\/cron.php from the browser, or running cron as CLI, or running cron normally, the precise ordering of these three tasks is already organised for you by the Brickfield Accessibility+ Toolkit plugin.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/section>\n\t\t\t\t<\/main>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Home &#8211; Using Your Toolkit &#8211; Cron and scheduled tasks Brickfield Enable: Cron and scheduled tasks Table of Contents Introduction The Brickfield Accessibility+ Toolkit analysis and ongoing processing goes on the assumption that your Moodle site is configured with regularly running cron, as always recommended by Moodle HQ for production sites. \u00a0 However, if you [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-465","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-json\/wp\/v2\/pages\/465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-json\/wp\/v2\/comments?post=465"}],"version-history":[{"count":40,"href":"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-json\/wp\/v2\/pages\/465\/revisions"}],"predecessor-version":[{"id":4956,"href":"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-json\/wp\/v2\/pages\/465\/revisions\/4956"}],"wp:attachment":[{"href":"https:\/\/docs.brickfield.ie\/brickfieldenable-admin\/wp-json\/wp\/v2\/media?parent=465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}