PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   spider from command line (http://www.phpdig.net/forum/showthread.php?t=1738)

twanoo 01-14-2005 08:24 AM

HI,
I have the exact same kind of problem :bang: ..
I'm not quite sure i' not missing anithing in the config file ,thaught.

twanoo 01-14-2005 09:07 AM

I finally found a way to work this out:

you need to cd to the "phpdig/admin/" directory , first.
and then
Code:

php -f ./spider.php "option" www.mydomain.com
it worked for me, i hope it helps you.

Antoine.

Charter 01-14-2005 09:43 AM

You should be able to set ABSOLUTE_SCRIPT_PATH in the config file and then call the spider from shell while outside of the admin directory. Either way should work.

drywall 01-14-2005 10:04 AM

Yes, the resolution posted by twanoo isn't very helpful when trying to set up a cron... which is why my ABSOLUTE_SCRIPT_PATH thing is such a problem.

Thanks though!


All times are GMT -8. The time now is 03:03 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.