I am getting this cronjob error and I cannot seem to find the solution.
My cronjob looks like this:
www/site/piwik/misc/cron/archive.php /usr/local/bin/php
I have also added this to the first line of the archive.php file: #!/usr/local/bin/php
(I did that because it works with another cronjob I have.)
This is the Error I get:
[2013-10-17 19:28:01] [18deree2] ERROR: archive.php expects the argument --url to be set to your Piwik URL, for example: --url=http://example.org/piwik/
Error in the last Piwik archive.php run:
archive.php expects the argument --url to be set to your Piwik URL, for example: --url=http://example.org/piwik/
Fatal error: archive.php expects the argument --url to be set to your Piwik URL, for example: --url=http://example.org/piwik/ in /is/htdocs/xxxxxxxxx/www/site/piwik/misc/cron/archive.php on line 574
Remember I added one more line at the top so it all moves one line down. I tried adding my piwik url to the file directly at the beginning where it says [arguments] but that didn’t work either…
Can someone explain to me what I am supposed to do? I’m really not that webmaster kind of guy^^
I did upload ALL the files in Binary mode, system check says everything okay. (Part from the file that has my url in it now, that throws an error which is kinda unchique looking but sure, working…)
Really? I’m on a managed virtual machine, I’m pretty sure I can’t access anything below the /www directory?
I’ll give it a shot though. Do I need to add the shebang statement to the top of the file still?