Cron Job Issue

I created the cron job to archive logs on Goddady share hosting.I use the following

/web/cgi-bin/php5 -f “$HOME/html/pdseo/misc/cron/archive.php – url=http://partydepotus.com/pdseo/” >/home/content/64/11278464/html/example/piwik-archive.log

Corn Jod does and created the piwik-archive.log. But when i open piwik-archive.log. only following text is wrriten

No input file specified.

Please help why archives are not created.

code should be:


/web/cgi-bin/php5 -f "$HOME/html/pdseo/misc/cron/archive.php" -- url=http://partydepotus.com/pdseo/ >/home/content/64/11278464/html/example/piwik-archive.log

Thanks Matt.I Update it to
/web/cgi-bin/php5 -f “$HOME/html/pdseo/misc/cron/archive.php” --url=http://partydepotus.com/pdseo/ >/home/content/64/11278464/html/example/piwik-archive.log
But When run get the following error message

Error in argument 3, char 2: no argument for option -

Any Idea?

you didnt’ copy the command properly, there is a space before url

i update it to


/web/cgi-bin/php5 -f "$HOME/html/pdseo/misc/cron/archive.php" -- url=http://partydepotus.com/pdseo/ >/home/content/64/11278464/html/example/piwik-archive.log

But get the following error message
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/

I attached the piwik-archive.log file too.
Please advise?

sorry ignore my previous message with extra space I was wrong!

can you try:


/web/cgi-bin/php5 ~/html/pdseo/misc/cron/archive.php --url=http://partydepotus.com/pdseo/ >/home/content/64/11278464/html/example/piwik-archive.log

What do you get?

I get the following messge
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/

Sorry I’m really not sure at this stage what is the problem. maybe you can take a screenshot of the cron page showing the command used?

Please see the attached file. I’ getting the following error

Error in argument 3, char 2: no argument for option -

please ask your hosting provider he will be able to resolve the problem easily. it is not a piwik bug. thanks!