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

8 lines
286 B
Bash

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