ferret rebuild_index

i am using ferret search engine for site search.
but after week i need to rebuild index for ferret manually.

i am searching for, is there any automated way for creating indexes in
ferret.

start script console
then just type
Model.rebuild_index

this may give some error "stack level too deep"
then you have to restart the server
(happens to me all the time in this case,
but the new index is ok anyway)

Thorsten Mueller wrote:

start script console
then just type
Model.rebuild_index

this may give some error "stack level too deep"
then you have to restart the server
(happens to me all the time in this case,
but the new index is ok anyway)

i know this command but i want auto mated way of creating indexes.
i dont want to use rebuild_index command every time