View Single Post
Old 09-08-2003, 09:21 AM   #1
fziemke
Green Mole
 
Join Date: Sep 2003
Location: Swiss
Posts: 5
Question PHPDIG_DIR & cron task

documentation:
Quote:
#php -f [PHPDIG_DIR]/admin/spider.php http://host.mydomain.com

The [PHPDIG_DIR]/admin/spider.php can be launch by a cron task too, in order to auto update the index. The recommended periodicity is 7 days. The updated documents you want to see immediately in the searches can be updated manually.
Those pages can contain a "revisit-after" metatag with a short delay.
Two questions:

1.) What is PHPDIG_DIR in Windows ? I can't start this from DOS-Prompt.

I try:
"C:\php\php.exe -f D:\inetpub\wwwroot\phpdig\admin\spider.php http://host.mydomain.com"

(Error ...function not found). It seems it found no phpdig_functions.php.
(//test on cgi or http is in spider.php - Line 23 ff)

2.) If this works i will update my pages every night at 11pm. But recommended periodicity is 7 days ?? How can i index daily my new pages - this are 3 to 4 HTML-Pages generated by a content management system. I will not update this manually ??

Thanks
-Frank-
fziemke is offline   Reply With Quote