Quantcast
Viewing all articles
Browse latest Browse all 4243

Question on running console:archive for auto-archiving instead of archive.php (1 reply)

In archive.php I see the text:
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 console isn't mentioned at [piwik.org] though and I can't find any detailed examples right off.

It looks I just need this command in my crontab:
/path/to/php54 /path/to/piwik/console core:archive --piwik-domain=[http://mydomainname.com/piwik/]

Does that look about right? Or should the piwik-server-url be in single quotes perhaps, or without brackets?

Also since I'm tracking multiple domains do I need to add --force-all-websites ?

Viewing all articles
Browse latest Browse all 4243

Trending Articles