I disabled “Allow Piwik archiving to trigger when reports are viewed from the browser”. I entered “3600 seconds” in “Reports for today will be processed at most every”. Next I made a cron job in my DirectAdmin:
Im using windows server 2003 and i also receive “php binary not found. Make sure php5 or php exists in PATH.”,but when i edit the archive.windows.ps1 in $BINS = @(“php5.exe”, “php.exe”)
Thank you very much! It really works I’ve add complete path to lines in archive.windows.ps1 and archive.sh (just to be sure) and it works. Thanks again
The problem is that the file will be overwritten next time you upgrade Piwik.
we need to find a better solution, can you please edit the script to allow passing the path as a parameter as well ? if you can please submit a patch here so we can make sure the script will work when you upgrade,
then you can update the scheduled task to pass your custom PHP path as a parameter