I am not understanding the crons jobs new setup. It seems to be different from the old one. I have a autoinstaller on my hosting that automatically installs the scripts thus making the crons automatically. Can anybody give me the line code and what parts I need to change to make sure crons runs correctly on my sites? |
This is what is always use:
/usr/bin/php -q /home/youraccount/public_html/periodic/cron.php
Set it up to run once a minute (* * * * *)
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Is the youraccount when you put the domain name? If so like this www.sitename.com or just site.com without the www? |
No, it's the account name with your host. You can get this from the Dolphin header (inc/header.inc.php) if you are unsure what it is. Just look for:
$dir['root'] = "/home/youraccount/public_html/";
It's normally like the first 7 letters of your domain with no www. or .com.. but check the header.inc.php to make sure.
While you're in the cron make sure you enter a valid email so you will get any error messages if it doesn't work.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
So this will work with both installs on dolphin I have on my hosting? Meaning I only need one of these crons running? I actually had it correct awhile ago. The only thing I am concerned with is the report says, "No input file specified". |
No, you have to have one for each Dolphin install.. if one is in another sub directory just make sure you correct the path to the file.. the example I gave you will work if Dolphin is installed in the root of your account (public_html). If you have another one running in a sub directory (or a different user account) you would need another one for that install too. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
They are both on there own domain. Just one of the installs is the main domain for the root. It's Arvixe hosting so the free domain is the root which is www.blackbookme.com and the other install is www.angrygrandpa.us |
Ah ok, so they need to each be setup in their own cpanel account so they run as the correct user. Just adjust the path of the one that isn't in the root. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
when I run that crons. it says no such fie. i have one dophin 7.0.7 running on the root for my main domain www.blackbookme.com and one other domain in its own folder. what is the correct path to set up with the crons jobs. |
Did you put the correct account name in place of "youraccount"? You can also see what it is in Cpanel on the left under "stats" and "home directory"... if PM me the home directory name and the sub-directory the second account is in I can PM you exactly what they both should be.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Can you send me a e-mail address. So I can send you a pic on my hosting acccount. So you can tell me the crons set-up? The site will not let me add you as a friend or send you a message. |