Cron Error Message

Please help me  :)

 

What am I doing wrong to get this?

 

/bin/sh: /home/clubadve/public_html/americanwebdate.com/periodic: is a directory
Could not open input file: cron.php

Quote · 20 Dec 2011

Take a look in Cpanel and tell me if your cron job looks like this:

 

 

/usr/bin/php -q /home/clubadve/public_html/americanwebdate.com/periodic/cron.php

 

 

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 20 Dec 2011
/home/clubadve/public_html/americanwebdate.com/periodic; /usr/local/bin/php -q cron.php
Quote · 20 Dec 2011

 mscott,

do you not need the cd in order to bounce out and change directory to /usr/bin/php

 

?

 

but the path to sh, seems incorrect to me.

 

where are you hosted, i see you most likely have cpanel, or maybe not, since the full domain name is listed in your home path.

 

americanwebdate.com is a subdomain and a subdirectory

 

?

Take a look in Cpanel and tell me if your cron job looks like this:

 

 

/usr/bin/php -q /home/clubadve/public_html/americanwebdate.com/periodic/cron.php

 

 

 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 20 Dec 2011

I changed it over to 

/usr/bin/php -q /home/clubadve/public_html/americanwebdate.com/periodic/cron.php

Will see if I get the errors..

 

THANKS

Quote · 20 Dec 2011

in the htaccess it has this

 

Deny from all

<FilesMatch "^.*\.php|.*\.html$">

 

ForceType application/x-httpd-php-source

 

</FilesMatch>

Quote · 20 Dec 2011

interesting, no more error messages but I have no idea if it is working  :)

 

Not even sure what it should be doing..

Quote · 20 Dec 2011

 Nah, I've always used the format I posted and it's always worked.

 

 mscott,

do you not need the cd in order to bounce out and change directory to /usr/bin/php?

 

 

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 20 Dec 2011

If you're not getting the error emails you should be ok. You should get an email around midnight (server time) showing that it cleaned up the database. Also if you upload a video you'll get an email from ffmpeg showing what it did. Your mass mailer will work now also. 

 

 

interesting, no more error messages but I have no idea if it is working  :)

 

Not even sure what it should be doing..

 

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 20 Dec 2011

thanks will watch for it...  :)

Quote · 20 Dec 2011

woke up to a truck full of these

 

/bin/sh: /home/clubadve/public_html/adventistdate.com/periodic: is a directory
Could not open input file: cron.php

Quote · 20 Dec 2011

is your files is in public_html dir? if yes then remove the text in red.

/home/clubadve/public_html/americanwebdate.com/periodic

maybe its a typo mistake during setup

so much to do....
Quote · 20 Dec 2011

The folder they are in is in the folder americanwebdate.com which is a folder in the public_html folder.

 

All my domains are inside that...

Quote · 20 Dec 2011

oh! than thats ok

so much to do....
Quote · 20 Dec 2011

try  usr/local/bin/php    just for the heck of it....

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 20 Dec 2011

add

cd /home/something/public_html/periodic; /usr/local/bin/php -q cron.php

for just trying....lol

so much to do....
Quote · 20 Dec 2011

 stan,

not sure where you are hosted, however, it would appear to me that you could get your hosting service to tell you the path to php binary

 

or you could look in the tips and tricks on how to run a few tests and determine that path yourself. then once you know the path to php binary, then you can set the cron job to fire. 

 

also, if you are not doing cd, then the server and app are not communicating and you are getting that error. 

 

so i think its not taking the correct path, and it says it cant find cron.php

 

i would be willing to look into this for you. hit me on PM or skype --> socialnetworkhosting

 

i have written a tutorial and placed it on the forums. 

The folder they are in is in the folder americanwebdate.com which is a folder in the public_html folder.

 

All my domains are inside that...

 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 21 Dec 2011
 
 
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.