sdsphinx/indexer/manual-histo.sh
2015-09-07 13:24:16 +00:00

8 lines
292 B
Bash

#!/bin/bash
PATH_LOG=/var/lib/sphinxsearch/log
PATH_BIN=/usr/bin
echo "$(date '+%Y-%m-%d %H:%M:%S') === INDEXATION HISTO" >> $PATH_LOG/indexer.log
$PATH_BIN/indexer --rotate histo >> $PATH_LOG/indexer.log
echo "$(date '+%Y-%m-%d %H:%M:%S') === FIN INDEXATION HISTO" >> $PATH_LOG/indexer.log