Setting Cron for archiving: url
-
Hello and thanks
I am trying to set a crontab for archiving, but I am unable to get the right url
The tutorial that I follow
https://matomo.org/docs/setup-auto-archiving#linux-unix-how-to-set-up-a-crontab-to-automatically-archive-the-reportsThe Matomo app installation was made by your plugin and is inside the folder app and we don’t have a special url for it.
in /etc/cron.d/matomo-archive
MAILTO="[email protected]" 5 * * * * www-data /usr/bin/php /var/www/html/wp-content/plugins/matomo/app/console core:archive --url="https://test.com/wp-content/plugins/matomo/app/" > /var/log/matomo-archive.log
The /var/log/matomo-archive.log is owned by www-data.
Thanks for any help, have a good day ??
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Setting Cron for archiving: url’ is closed to new replies.