Set Up Auto-Archiving Of Your Reports


I follow the step from
I already add this line

5 * * * * www-data /usr/bin/php /path/to/matomo/console core:archive --url= > /home/example/matomo-archive.log

but after another day, it won’t auto-archiving report?

am I missing any lines? and I need manually run the cron command just will running.

please help, thank


Maybe check your cron log to see if the task is running and /home/example/matomo-archive.log to check what happened when the command was running.

I been serach it, it dont have matomo-archive.log file.

but I check on syslog and get (CRON) info (No MTA installed, discarding output)?

please help. thanks

anyone can help for these issues?