File: cron.d

package info (click to toggle)
sphinxsearch 2.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 23,028 kB
  • sloc: cpp: 129,264; xml: 78,187; ansic: 9,422; sh: 8,843; php: 3,710; yacc: 2,300; java: 1,334; ruby: 1,287; python: 1,253; pascal: 1,111; lex: 291; makefile: 186; perl: 150; sql: 77; cs: 38
file content (9 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9

# Rebuild all indexes daily and notify searchd.
@daily      sphinxsearch . /etc/default/sphinxsearch && if [ "$START" = "yes" ] && [ -x /usr/bin/indexer ]; then /usr/bin/indexer --quiet --rotate --all; fi

# Example for rotating only specific indexes (usually these would be part of
# a larger combined index).

# */5 * * * * sphinxsearch [ -x /usr/bin/indexer ] && /usr/bin/indexer --quiet --rotate postdelta threaddelta