I’m setting up archive.php to run as a cron job, and when I checked the code of archive.php I saw this:
Using this ‘archive.php’ script is no longer recommended.
Please use ‘/path/to/php $piwikHome/console core:archive " . implode(’ ‘, array_slice($_SERVER[‘argv’], 1)) . "’ instead.
To get help use ‘/path/to/php $piwikHome/console core:archive --help’
The script is from 2.2.0.
What’s the deal here and is the recomended line PHP code that could be run like archive.php script?
I ask this because all the help is still pointing to archive.php script, no mention of some new better way of doing it.
Thanks