I'm having problems while attempting to auto archive. Here's the syntax:
or
Results:
Any insight and assistance, is greatly appreciated!
su user -c "usr/bin/php /my/location/piwik/console core:archive --url=https://mywebsite.com/"
or
sudo su user -c "usr/bin/php /my/location/piwik/console core:archive --url=https://mywebsite.com/"
Results:
[InvalidArgumentException] There are no commands defined in the "core" namespace.
Any insight and assistance, is greatly appreciated!