@anonymous-piwik-user opened this Issue on December 2nd 2008

The path to the Piwik index.php is hardcoded in piwik/misc/cron/archive.sh and therefore needs to be adapted to the correct location everytime I update.

This should be solved in a more user-friendly way.


@robocoder commented on December 8th 2008 Contributor

For portability, paths in cron scripts are absolute. If PIWIK_PATH were to be defined in some other config file, the path to this config file would also be an absolute path. Thus, archive.sh would (still) have to be updated each time.

Workaround: rename your locally modified archive.sh and use that file in your crontab. Thus, it won't be overwritten when you update/upgrade Piwik.

@robocoder commented on March 19th 2009 Contributor

A fix has been committed for #599 which determines the Piwik path.

This Issue was closed on March 19th 2009
Powered by GitHub Issue Mirror