I am unable to index from the command line unless I switch to the directory in which spider.php is contained
this will work when I am in the /search/admin/ directory:
php -f spider.php
http://www.domainname.com >/tmp/output 2>/tmp/erroroutput
this won't
/usr/bin/php -f /web/servers/domainname.com/search/admin/spider.php
http://www.domainname.com > /tmp/phpdigg.log 2>&1
or this
php -f /web/servers/domainname.com/search/admin/spider.php
http://www.domainname.com >/tmp/output 2>/tmp/erroroutput
I want to schedule a cron job so I will need the full path I assume.
Any ideas?