i've just installed through one-click the piwik package and i've found the cronjob automatically configured for the archive function, but it does not work as i've enabled the email report and this is the result
Cron sh -c $'sh /home/apedic/netsystemsa.it/piwik/misc/cron/archive.sh
php binary not found. Make sure php5 or php exists in PATH.
I've contacted the support and they have told me to insert the full Php path in the command, but I don't understand how to add it as the script is a shell script and not a Php script.
Moreover, as this cronjob is automatically configured by one-click, I think it should works "out of the box" without any modification.
Could anyone help me to configure this script?