On Fri, 3 Sep 2004, Clint Davis wrote:

Rundig executes the htdig command with the -i switch causing a new database
to be created each time. This isn't a problem except I'm displaying the
index date in my search results. So, each result shows the date of the last
indexing - today at 2:00am.

Is it okay duplicate and modify the rundig script so that the htdig command
is executed without the -i switch? That way, I could call the modified
rundig script from my cron job.

You are free to modify the rundig script in any way you deem appropriate. Though I believe many people end up using it as is, it is really intended as an example of how you might script a typical indexing run. If the only change you are looking for is the elimination of the initial database removal, just get rid of the '-i' on the line that calls htdig; that change won't otherwise affect the tasks executed by the script.


Jim


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to