Period

Name

Period -- defines crawling period

indexer.conf

Synopsis

Period {time}

Description

Period defines reindex period.

The time parameter understands this format:


    xxxA[yyyB[zzzC]]
    
where xxx, yyy, zzz are numbers (negative numbers are allowed), and A, B, C are interval specifier characters as follows:

s - second
M - minute
h - hour
d - day
m - month
y - year
    

Note: The specifier characters are similar to format characters used by the strptime and strftime C functions.

If the time value is put into single or double quotes, spaces are allowed between xxx, A and yyy, and so on.

If you specify only a number without any characters, it is assumed that time is given in seconds.

The default value is 7d (one week).

Scope

Period can be set multiple times and has effect on all following Server and Realm commands until the end of the configuration file, or until the next Period command.

Examples


# 15s - 15 seconds
# 4h30M - 4 hours and 30 minutes
# 1y6m-15d - 1 year and six month minus 15 days
# 1h-10M+1s - 1 hour minus 10 minutes plus 1 second

Period 7d
      

See also

CrawlDelay, IPRequestPerMinLimit, Robots.