Hello folks,
does anyone have any experience on how to set up a working cronjob for Matomo autoarchiving in Plesk Obsidian?
My current cron job:
Task type: Execute PHP script
Script path: httpdocs/console
with arguments: core:archive --url=https://matomo.meine-domain.de/ > /var/www/vhosts/matomo.my-domain.de/logs/matomo-archive.log
does not work and ends with the error message:
[RuntimeException]
Too many arguments.
If I only enter "core:archive --url=https://matomo.meine-domain.de/" in the arguments, there is no error message. But it would be great if this would work with the archive logs too.
Would be really mega if somebody could help me out here.
does anyone have any experience on how to set up a working cronjob for Matomo autoarchiving in Plesk Obsidian?
My current cron job:
Task type: Execute PHP script
Script path: httpdocs/console
with arguments: core:archive --url=https://matomo.meine-domain.de/ > /var/www/vhosts/matomo.my-domain.de/logs/matomo-archive.log
does not work and ends with the error message:
[RuntimeException]
Too many arguments.
If I only enter "core:archive --url=https://matomo.meine-domain.de/" in the arguments, there is no error message. But it would be great if this would work with the archive logs too.
Would be really mega if somebody could help me out here.