Auto Archiving doesn't work


(test-user) #1

Hi,

The automatic hourly archiving doesn’t work. (Piwik 0.6.3)

Normally I use Crontabs like this:

/usr/bin/GET "http://example.com/blablub.php"

In Piwik I use this every hour:

/usr/bin/GET "http://example.com/piwik/misc/cron/archive.sh"

But it doesn’t work. Via email I only get the content of the archive.sh

Here is some Data of my Server:
Apache-Version 2.2.15
PHP-Version 5.2.13
MySQL-Version 5.1.47

–> German Version style_emoticons/<#EMO_DIR#>/rolleyes.gif


(Matthieu Aubry) #2

You should setup the crontab as explained in the doc: http://piwik.org/docs/setup-auto-archiving/

GETting the archive.sh will not work since it is a shell script and should be executed by /usr/bin/sh


(test-user) #3

now it works. crontab is:
5 0 * * * sh /home/webuser/public_html/example.com/piwik/misc/cron/archive.sh

thx