o
Matomo condenses the collected raw data into reports. That is called archiving, and without a schedule it only happens when somebody opens the report. This guide shows how to trigger archiving from outside, once an hour.
Why at all
Out of the box Matomo computes a report the moment somebody requests it. On a small site you barely notice. As soon as a few thousand visits a day pile up, that becomes a wait of several seconds, every time, for everyone who opens the dashboard.
It also affects every evaluation nobody opens by hand: the email reports Matomo sends, the segments, and the data other programs fetch through the API. They are only as current as the last call.
The solution turns it around: a fixed call from outside computes the reports in advance. Whoever opens the dashboard then sees finished figures immediately.
https://ihre-domain.de/matomo/misc/cron/archive.phpSetup
The AI does it faster
You do not have to transfer any of this by hand. Paste this guide – or the one for your own system – into the assistant, and Cronjob.de fills in address, method, schedule and headers. Where something is unclear it asks instead of guessing. At the end you see what was entered and create the job with one click.
Included in the free plan at no extra cost. You will find it after signing in under "Cronjobs" → "Create with AI".
Sign in as superuser and go to Administration → Personal → Security. Create a new token under "Auth tokens" at the bottom and write down the 32 characters – Matomo shows them only once.
Under Administration → System → General settings set "Archive reports when viewed from the browser" to No and "Archive reports at most every X seconds" to 3600. Without this step Matomo keeps computing on every request.
Registration takes a minute and is free. Three cronjobs stay free forever, the first 14 days run on the Unlimited plan.
Enter https://your-domain.com/matomo/misc/cron/archive.php as the address, choose POST as the method and put the token into the request body. Matomo explicitly recommends this so the token does not end up in server logs and history lists. A fixed minute of every hour is enough as a schedule.
token_auth=YOUR32CHARACTERTOKEN # schedule, hourly at :17 17 * * * *
Enter an email address in the folder settings. When archiving fails your reports go stale silently – without a notification you notice weeks later.
Verification
After the first run the Cronjob.de call log shows the archiver output, ending in a summary ("Done archiving!"). Inside Matomo, Administration → System → General settings shows the time of the last successful archiving. An old timestamp there means the call is not arriving.
FAQ
ignore_user_abort = On in php.ini for that. For very large installations Matomo recommends the command line anyway; archiving can take hours there.?module=API&method=CoreAdminHome.runScheduledTasks triggers the scheduled tasks, such as sending the email reports. That is not the same as archiving though. For reports that should load quickly, archive.php is the right way.Create an account, enter the address, click the schedule. Three cronjobs are free forever, the first 14 days run on the Unlimited plan.
Start for free See pricingMore guides
Official documentation of Matomo
The details about Matomo come from their own documentation, as of September 2026. Please check there whether anything has changed since.