Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

Cron error on Windows box (no replies)

$
0
0
I am trying to activate the archive.php cron on a Windows box running PHP and Apache. When I run the command line script:

php archive.php -- url=http://xxx.com/

I am given the message log:

[2013-06-04 21:15:08] [6d977160] [2.25 Mb] Querying Piwik API at: http://xxx.com/misc/cron/../../index.php
[2013-06-04 21:15:08] [6d977160] [2.25 Mb] Running Piwik 1.12 as Super User: root
[2013-06-04 21:15:30] [6d977160] [2.40 Mb] ERROR: Got invalid response from API request: http://xxx.com/misc/cron/../../index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. Response was 'curl_exec: couldn't connect to host'
[2013-06-04 21:15:30] [6d977160] [2.40 Mb] ERROR: The Piwik URL http://xxx.com/misc/cron/../../index.php does not seem to be pointing to a Piwik server. Response was ''.

Anyone been able to make this work?

Thanks,
-Matt

Viewing all articles
Browse latest Browse all 4243

Trending Articles