{"id":15920,"date":"2026-11-29T16:37:00","date_gmt":"2026-11-29T15:37:00","guid":{"rendered":"https:\/\/www.lukaswojcik.com\/blog\/?p=15920"},"modified":"2026-11-14T23:38:46","modified_gmt":"2026-11-14T22:38:46","slug":"preparing-matomo-reports-cron-waiting-time-and-freshness","status":"publish","type":"post","link":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/","title":{"rendered":"Preparing Matomo Reports: Cron, Waiting Time and Freshness"},"content":{"rendered":"<p>Matomo first stores individual visits and actions. Reports require the server to turn those records into totals and tables. Matomo calls this archiving. If the required prepared report is missing, opening a dashboard can start the calculation. The browser then waits for the server.<\/p>\n<p>A cron job starts this work on a schedule, for example once an hour. Frequently needed reports can then be ready before the dashboard opens. The calculation still needs processing capacity; its timing changes. This does not guarantee a fixed loading time or failure-free operation.<\/p>\n<p>The following steps apply to a standalone Matomo On-Premise installation. Matomo Cloud manages scheduling itself; Matomo for WordPress uses WP-Cron. The technical rules were checked against Matomo 5.14.2.<\/p>\n<h2>1. Reports prepared in advance<\/h2>\n<p>Matomo stores raw records in tables such as <code>matomo_log_*<\/code> and calculated report data in <code>matomo_archive_*<\/code>; the shared matomo_ name prefix can differ. Daily reports use raw records. Weekly and monthly reports can build on daily archives. Opening a monthly report therefore does not necessarily reread every raw record.<\/p>\n<p><code>core:archive<\/code> checks which reports need recalculation after new data or changes. It also processes saved segments marked for preparation in advance. A segment is a filter, such as \u201cvisits from Germany on a mobile device\u201d.<\/p>\n<figure class=\"lw-diagram\"><img decoding=\"async\" src=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/diagrams\/matomo-reviewed-15920-en-20261025.png?v=20261114\" alt=\"The browser can trigger calculation; the server performs it. A schedule prepares required reports when runs complete successfully.\" width=\"1120\" height=\"580\" loading=\"lazy\"><figcaption>The browser can trigger calculation; the server performs it. A schedule prepares required reports when runs complete successfully.<\/figcaption><\/figure>\n<h2>2. A working schedule first<\/h2>\n<p>The following is an example for a system crontab under <code>\/etc\/cron.d\/<\/code>. Paths and account must match the installation. The log directory must already exist and be writable by <code>www-data<\/code>.<\/p>\n<pre><code>5 * * * * www-data \/usr\/bin\/php \/var\/www\/matomo\/console core:archive &gt;&gt; \/var\/log\/matomo\/archive.log 2&gt;&amp;1<\/code><\/pre>\n<p>The job starts five minutes past each hour. <code>www-data<\/code> is the execution account; a personal crontab omits this extra field. <code>&gt;&gt;<\/code> appends output, while <code>2&gt;&amp;1<\/code> sends error output to the same file. Regularly starting a new log file and removing older files after a set period prevents unlimited growth. Since both output streams go to the file, this line does not provide an error notification.<\/p>\n<p>A successful test run under the intended account and PHP version is needed before disabling browser triggering. Missing permission to write the log can prevent the command from starting. A run may also take longer than an hour. Its interval, scope or deliberately configured parallel processing must then be adjusted.<\/p>\n<p>The checked Matomo 5.14.2 command includes <code>--url<\/code> without marking it deprecated. The Matomo address can be needed especially when archiving falls back to HTTP requests. This simple example omits the option, as the command help recommends.<\/p>\n<h2>3. Browser triggering and report freshness<\/h2>\n<p>Administration \u2192 System \u2192 General Settings provides the switch for archiving when reports are viewed. The same area controls the interval before current reports can be calculated again. An hourly job and 3,600 seconds are a common starting point.<\/p>\n<p>The schedule and archive lifetime do different jobs: cron starts the check; the lifetime determines whether an existing archive is ready for recalculation. A 09:05 run therefore does not guarantee a report complete exactly through 09:00. Runtime, backlog and actual successful completion determine freshness.<\/p>\n<p>Values saved in the interface override the corresponding defaults in <code>config\/config.ini.php<\/code> while the administration page is enabled. Weeks, months, years and custom date ranges can also have separate lifetimes. The value 3,600 therefore need not control every report.<\/p>\n<p>Two exceptions remain after disabling the general browser trigger. Real-time segments can still start calculations, and custom date ranges can do so too. The following addition to the existing <code>[General]<\/code> section closes both paths, provided the general browser trigger is actually off:<\/p>\n<pre><code>[General]\nbrowser_archiving_disabled_enforce = 1\narchiving_range_force_on_browser_request = 0<\/code><\/pre>\n<p>This stricter setting makes sense only after the required segments and periods have been included in background processing. Otherwise a report may be unavailable instead of slow. <code>global.ini.php<\/code> contains defaults and is not the file for local changes.<\/p>\n<h2>4. Segments and custom periods<\/h2>\n<p>A segment saved for preprocessing is calculated by the background run. Its first run can take a long time. <code>process_new_segments_from<\/code> limits how far back the calculation goes; the default includes available history. Raw records already deleted are unavailable for new historical analyses.<\/p>\n<p>With browser triggering off, a real-time segment can still be calculated on request only if the additional restriction permits it. <code>browser_archiving_disabled_enforce = 1<\/code> closes that exception for ordinary periods. The two settings therefore need to be considered together.<\/p>\n<p>Matomo 5.14.2 includes selected ranges from account preferences and entries under <code>archiving_custom_ranges[]<\/code>. A regularly needed custom period must be included accordingly. An arbitrary newly selected range is not automatically ready when the dashboard opens.<\/p>\n<h2>5. Successful runs and storage<\/h2>\n<p>Useful checks include the last successful run, runtime, error messages and the age of important reports. A cron entry alone does not prove that processing works. Matomo summarises detected archiving errors; additional files or emails depend on logging settings, output redirection and configured mail delivery.<\/p>\n<p>Preparing more segments and periods can use more storage. Cron does not inevitably enlarge the database: browser-triggered calculations store archives too. Scope, repeated processing and retention matter. Optimising every table after each run is not a necessary part of this change.<\/p>\n<div class=\"lw-faq\">\n<h2>Questions and answers<\/h2>\n<h3>Does the dashboard become fast immediately?<\/h3>\n<p>Existing archives avoid waiting for their calculation. Database access, networks, plugins and the browser still take time. A before-and-after measurement establishes the actual improvement.<\/p>\n<h3>Does a 15-minute interval mean four times the work?<\/h3>\n<p>It provides four times as many opportunities to start. Actual recalculation also depends on new data, archive lifetime and runtime.<\/p>\n<h3>Must the account match the web server?<\/h3>\n<p>This is often the simplest way to keep file permissions compatible. Another account is possible if shared cache and working files remain accessible to both processes. A root run can otherwise leave files that the web server cannot later modify.<\/p>\n<h3>Are email reports then guaranteed?<\/h3>\n<p>The archiver can also run scheduled tasks. Delivery schedules, permissions and mail transport still need to work; cron alone does not confirm successful delivery.<\/p>\n<\/div>\n<div class=\"lw-quellen\">\n<h2>Sources<\/h2>\n<ul>\n<li><a href=\"https:\/\/matomo.org\/faq\/on-premise\/how-to-set-up-auto-archiving-of-your-reports\/\" target=\"_blank\" rel=\"noopener noreferrer\">Auto-archiving<\/a><\/li>\n<li><a href=\"https:\/\/developer.matomo.org\/guides\/archiving\" target=\"_blank\" rel=\"noopener noreferrer\">Archiving process<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/matomo-org\/matomo\/blob\/5.14.2\/core\/ArchiveProcessor\/Rules.php\" target=\"_blank\" rel=\"noopener noreferrer\">Matomo 5.14.2: archiving rules<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/matomo-org\/matomo\/blob\/5.14.2\/config\/global.ini.php\" target=\"_blank\" rel=\"noopener noreferrer\">Matomo 5.14.2: configuration<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/matomo-org\/matomo\/blob\/5.14.2\/plugins\/CoreConsole\/Commands\/CoreArchiver.php\" target=\"_blank\" rel=\"noopener noreferrer\">Matomo 5.14.2: command options<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/matomo-org\/matomo\/blob\/5.14.2\/core\/CronArchive.php\" target=\"_blank\" rel=\"noopener noreferrer\">Matomo 5.14.2: CronArchive<\/a><\/li>\n<li><a href=\"https:\/\/matomo.org\/faq\/reporting-tools\/build-custom-segments-in-matomo\/\" target=\"_blank\" rel=\"noopener noreferrer\">Custom segments<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Matomo calculates reports on the server. A cron job can finish this work before the dashboard opens. Suitable periods, successful runs and actual report freshness determine the result.<\/p>\n","protected":false},"author":1,"featured_media":32581,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[91137,91104,91099,91252],"class_list":["post-15920","post","type-post","status-publish","format-standard","hentry","category-digital-analytics","tag-matomo","tag-mysql","tag-server-administration","tag-web-analytics"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Preparing Matomo Reports: Cron, Waiting Time and Freshness | Lukas Wojcik<\/title>\n<meta name=\"description\" content=\"Why the Matomo dashboard loads slowly and how the core:archive cron job fixes it. A technical guide to background archiving, segments, and database size.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Preparing Matomo Reports: Cron, Waiting Time and Freshness | Lukas Wojcik\" \/>\n<meta property=\"og:description\" content=\"Why the Matomo dashboard loads slowly and how the core:archive cron job fixes it. A technical guide to background archiving, segments, and database size.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/\" \/>\n<meta property=\"og:site_name\" content=\"Lukas Wojcik\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-29T15:37:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll2-15920-15920.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Lukas Wojcik\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lukas Wojcik\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/\"},\"author\":{\"name\":\"Lukas Wojcik\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/en\\\/#person\"},\"headline\":\"Preparing Matomo Reports: Cron, Waiting Time and Freshness\",\"datePublished\":\"2026-11-29T15:37:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/\"},\"wordCount\":956,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/en\\\/#person\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll2-15920-15920.png\",\"keywords\":[\"Matomo\",\"MySQL\",\"Server Administration\",\"Web Analytics\"],\"articleSection\":[\"Digital Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/\",\"name\":\"Preparing Matomo Reports: Cron, Waiting Time and Freshness | Lukas Wojcik\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll2-15920-15920.png\",\"datePublished\":\"2026-11-29T15:37:00+00:00\",\"description\":\"Why the Matomo dashboard loads slowly and how the core:archive cron job fixes it. A technical guide to background archiving, segments, and database size.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll2-15920-15920.png\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll2-15920-15920.png\",\"width\":1200,\"height\":630,\"caption\":\"Preparing Matomo Reports: Cron, Waiting Time and Freshness\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-analytics\\\/preparing-matomo-reports-cron-waiting-time-and-freshness\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Preparing Matomo Reports: Cron, Waiting Time and Freshness\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/#website\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/\",\"name\":\"Lukas Wojcik\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/en\\\/#person\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":[\"de\",\"en\",\"pl\"],\"alternateName\":\"LW IT Solutions\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/en\\\/#person\",\"name\":\"Lukas Wojcik\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"width\":424,\"height\":636,\"caption\":\"Lukas Wojcik\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\"},\"sameAs\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\"],\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/en\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Preparing Matomo Reports: Cron, Waiting Time and Freshness | Lukas Wojcik","description":"Why the Matomo dashboard loads slowly and how the core:archive cron job fixes it. A technical guide to background archiving, segments, and database size.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/","og_locale":"en_US","og_type":"article","og_title":"Preparing Matomo Reports: Cron, Waiting Time and Freshness | Lukas Wojcik","og_description":"Why the Matomo dashboard loads slowly and how the core:archive cron job fixes it. A technical guide to background archiving, segments, and database size.","og_url":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/","og_site_name":"Lukas Wojcik","article_published_time":"2026-11-29T15:37:00+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll2-15920-15920.png","type":"image\/png"}],"author":"Lukas Wojcik","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Lukas Wojcik","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/#article","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/"},"author":{"name":"Lukas Wojcik","@id":"https:\/\/www.lukaswojcik.com\/en\/#person"},"headline":"Preparing Matomo Reports: Cron, Waiting Time and Freshness","datePublished":"2026-11-29T15:37:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/"},"wordCount":956,"commentCount":0,"publisher":{"@id":"https:\/\/www.lukaswojcik.com\/en\/#person"},"image":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll2-15920-15920.png","keywords":["Matomo","MySQL","Server Administration","Web Analytics"],"articleSection":["Digital Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/","url":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/","name":"Preparing Matomo Reports: Cron, Waiting Time and Freshness | Lukas Wojcik","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/#primaryimage"},"image":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll2-15920-15920.png","datePublished":"2026-11-29T15:37:00+00:00","description":"Why the Matomo dashboard loads slowly and how the core:archive cron job fixes it. A technical guide to background archiving, segments, and database size.","breadcrumb":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/#primaryimage","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll2-15920-15920.png","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll2-15920-15920.png","width":1200,"height":630,"caption":"Preparing Matomo Reports: Cron, Waiting Time and Freshness"},{"@type":"BreadcrumbList","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-analytics\/preparing-matomo-reports-cron-waiting-time-and-freshness\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lukaswojcik.com\/blog\/de\/"},{"@type":"ListItem","position":2,"name":"Preparing Matomo Reports: Cron, Waiting Time and Freshness"}]},{"@type":"WebSite","@id":"https:\/\/www.lukaswojcik.com\/#website","url":"https:\/\/www.lukaswojcik.com\/","name":"Lukas Wojcik","description":"","publisher":{"@id":"https:\/\/www.lukaswojcik.com\/en\/#person"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lukaswojcik.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":["de","en","pl"],"alternateName":"LW IT Solutions"},{"@type":"Person","@id":"https:\/\/www.lukaswojcik.com\/en\/#person","name":"Lukas Wojcik","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","width":424,"height":636,"caption":"Lukas Wojcik"},"logo":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg"},"sameAs":["https:\/\/www.lukaswojcik.com\/blog"],"url":"https:\/\/www.lukaswojcik.com\/en\/"}]}},"_links":{"self":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/15920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/comments?post=15920"}],"version-history":[{"count":10,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/15920\/revisions"}],"predecessor-version":[{"id":34069,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/15920\/revisions\/34069"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media\/32581"}],"wp:attachment":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media?parent=15920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/categories?post=15920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/tags?post=15920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}