![]() |
![]() |
![]() |
|
|||||||
| Cronjobs All the questions related to our cronjobs. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: May 2007
Posts: 3
![]() |
hi!
i'm new here! how are you ? well... i have an issue... i try to set up page rank for my sites from my directory but it gives me the following error Could not connect: Access denied for user 'nobody'@'localhost' (using password: NO)Could not connect: Access denied for user 'nobody'@'localhost' (using password: NO) i am using pro version 2.1.03. thank you. Last edited by mihaivoiculescu; 05-27-2007 at 11:28 AM. |
|
|
|
|
|
#2 |
|
eSyndiCat Lead Developer
Join Date: Apr 2006
Location: Kyrgyzstan, Bishkek
Posts: 6,546
![]() ![]() ![]() ![]() |
Hello mihai,
Can you send me your FTP and CPanel details and I will try to set up a cron job for you. You could send the details via PM, and don't forget to include a description of a problem.
__________________
Best regards, Sergey Ten sten at intelliants.com eSyndiCat Directory Script |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Jul 2007
Posts: 4
![]() |
Hi, I tried to set up the cron like described at this page :
http://www.esyndicat.com/support/des...&kbarticleid=3 But I get an error telling me : HTML Code:
[ 26 Jul 2007 11:52:41 ] WARNING mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'nobody'@'localhost' (using password: NO) in site-directory/includes/classes/DirDb.php:41 HTML Code:
require_once(dirname(__FILE__).'/../includes/config.inc.php'); require_once(dirname(__FILE__).'/../includes/classes/DirDb.php'); $gDb =& new Database(); $gDb->mDbhost = $gDirConfig['dbhost']; $gDb->mDbuser = $gDirConfig['dbuser']; $gDb->mDbpwd = $gDirConfig['dbpwd']; $gDb->mDbname = $gDirConfig['dbname']; $gDb->mPrefix = $gDirConfig['prefix']; Anyone fixed that? Thanks |
|
|
|
|
|
#4 |
|
eSyndiCat Lead Developer
Join Date: Apr 2006
Location: Kyrgyzstan, Bishkek
Posts: 6,546
![]() ![]() ![]() ![]() |
Hello electriduct,
It is wrong code. I think it is cron file for free 1.5. There is cron.php file in the includes folder.
__________________
Best regards, Sergey Ten sten at intelliants.com eSyndiCat Directory Script |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Jul 2007
Posts: 4
![]() |
Hi Sergey Ten,
Ok I see. That's right for the cron.php file in includes folder. So my question is : How to I set up Cron to work for the pageranking ? In the configuration panel for Cron , i set : HTML Code:
Cron for checking reciprocal listings enabled Gets listing status (checking for broken listings) enabled Cron for listings pagerank update enabled Number of links to check in one run 10 Check interval (in days) 1 Or do I need to run the cron.php file on my server? Finally the code in cron.php starts by : HTML Code:
$_path = realpath(dirname(__FILE__).'/classes');
/** require necessary files **/
require_once('config.inc.php');
require_once($_path.'/DirDb.php');
$gDb = new Database();
$gDb->mConfig['dbhost'] = DBHOST;
$gDb->mConfig['dbname'] = DBNAME;
$gDb->mConfig['dbport'] = DBPORT;
$gDb->mConfig['dbuser'] = DBUSER;
$gDb->mConfig['dbpass'] = DBPASS;
$gDb->connect();
Thanks for support. I appreciate it. |
|
|
|
|
|
#6 | |
|
Join Date: Oct 2007
Posts: 5
![]() |
Quote:
It is called from the config.inc.php by the line require_once('config.inc.php'); under the /** require necessary files **/ I hope this info enlightens you. |
|
|
|
|
|
|
#7 |
|
Join Date: May 2011
Posts: 1
![]() |
how often should the cron job run?
whatever duration i set it at... my website users who have a paid directory listing get a blank email that says "esyndicate mail notifier <>" every time cron runs. ? how do i stop this? |
|
|
|
|
|
#8 |
|
Super Moderator
Join Date: Oct 2005
Location: (California)
Posts: 5,268
![]() ![]() ![]() ![]() |
Hi edm718 - Welcome to the support forums.
What version of the script are you using?
__________________
Please don't ask me about script questions or sales issues through "Private Messages". Thanks! |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|