View Single Post
Old 08-25-2004, 06:55 PM   #1
WebDiva 2.0
Former Member
 
Join Date: Aug 2004
Posts: 18
cmd line index error msg

Hi,

Maybe someone can answer for me this question, please?

Running the /admin/spider.php from admin interface works very well.
I have also SSH access for my site.

When enter SSH and type in the command to run spider.php from SSH ... I get error msg saying "cannot connect db check connection script"

I do not understand why this error msg when it runs from admin interface no issues and is same db and same connection script?

Also, one other small question, please? I did read in documentation file about setting the cron files.

I have CPanel and can set cron through there.
Would setting cron from CPanel (like example below)
curl http://domain.com/phpdig/admin/my_cron_file.txt
run the spider to index the list of URLs contained in my_cron_file.txt ?

Or would this need be
curl http://domain.com/phpdig/admin/spider.php

???
WebDiva 2.0 is offline   Reply With Quote