Usinig Piwik 2.0.2
Trying to get automated reports to work - to be sent monthly.
Following instructions on: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo
using something like (customised to our installation of course)
/usr/bin/php5 /path/to/piwik/console core:archive --url=http://example.org/piwik/
The cron call fails.
Calling from the command line fails too. I get:
[InvalidArgumentException] There are no commands defined in the "core" namespace.
/usr/bin/php5 /path/to/piwik/console core
[InvalidArgumentException] Command "core" is not defined.
Doing a plain “console”, I get
Console Tool Usage: [options] command [arguments] Options: --help -h Display this help message. --quiet -q Do not output any message. --verbose -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug --version -V Display this application version. --ansi Force ANSI output. --no-ansi Disable ANSI output. --no-interaction -n Do not ask any interactive question. Available commands: help Displays help for a command list Lists commands development development:sync-ui-test-screenshots This command is intended for Piwik core developers. It copies all processed screenshot tests on Travis to the expected screenshot directory. generate generate:api Adds an API to an existing plugin generate:command Adds a command to an existing plugin generate:controller Adds a Controller to an existing plugin generate:plugin Generates a new plugin/theme including all needed files generate:settings Adds a plugin setting class to an existing plugin generate:test Adds a test to an existing plugin generate:theme Generates a new plugin/theme including all needed files generate:visualizationplugin Generates a new visualization plugin including all needed files git git:commit Commit git:pull Pull Piwik repo and all submodules git:push Push Piwik repo and all submodules log log:watch Outputs the last parts of the log files and follows as the log file grows. Does not work on Windows tests tests:coverage Run all phpunit tests and generate a combined code coverage tests:run Run Piwik PHPUnit tests one group after the other translations translations:createpull Updates translation files translations:fetch Fetches translations files from oTrance to tmp/oTrance translations:languagecodes Shows available language codes translations:languagenames Shows available language names translations:plugins Shows all plugins that have own translation files translations:set Sets new translations for a given language translations:update Updates translation files
No core: commands are shown.
Thanks for any clues