I have read an article:
https://matomo.org/docs/setup-auto-archiving/#linux-unix-how-to-set-up-a-crontab-to-automatically-archive-the-reports
If I understand it should be set cron job:
/usr/local/bin/php -f /home/USERNAMEXXX/public_html/MATOMO/console core:archive –https://URLXXXMATOMO> /home/example/matomo-archive-output.log
- MATOMO folder does not exist. So, We need to point to the file CONSOLE and folder CORE?
- It will generate a log file which is visible to the public or inside PUBLIC_HTML?
/home/example/matomo-archive-output.log
Should we out log file outside the public_html folder inside /FOLDERXXXexample/?