Another cron job error !

I have read and try all the solutions .. founded in this forum, but i still have the same problem : my video and sound are not processed. i have a website hosted with hostgator.

there are my cron job settings in cpanel : 

  5     *     *     *     *    cd /home/admin/public_html/periodic; /usr/local/bin/php -q cron.php

 

in the email i recive this : 

Cron <admin@gator399> /usr/bin/php -q /home/admin/public_html/periodic/cron.php

No input file specified.

 

any clue ? 

https://RomaniaOnline.club
Quote · 29 Mar 2013

the last cron recived via email show :

/bin/sh: line 0: cd: /home/admin/public_html/periodic: No such file or directory
Could not open input file: cron.php

https://RomaniaOnline.club
Quote · 29 Mar 2013

It is quite clear by the error, that your telling your cron job to run a file that does not exist.

If you are on shared hosting, it is quite possible that /home/whatever/periodic/ doesnt exist.

It would be something more like: /var/www/vhosts/yourdomain.com/public_html/periodic

I'd reccomend verifing the path of your cron script using either ssh, or something like this:

http://php.net/manual/en/function.getcwd.php

Quote · 31 Mar 2013

or look in the /inc/header.inc.php file to get the correct path. 

hostgator may also have a 15 minute limit on crons but i am not sure on that... 

also in your cron command you have /usr/local/bin/php     in the email it's saying  usr/bin/php 

 

If you need a hand with it let me know and ill have a look.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 31 Mar 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.