PDA

View Full Version : spider from command line


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 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!