I tried to set up a web cron running archive.php on my virtual managed server. It fails to run with the following error:
Error in the last Piwik archive.php run:
archive.php expects the argument --url to be set to your Piwik URL, for example: --url=http://example.org/piwik/
–help for more information
The FAQ did not offer any suggestion on this and I could not find anything in the forum here.
the archive.php uses a cURL to load your indexfile. so it needs a valid url to load. if you don’t have a virtual host you coul’d probably run it wit the url localhost.