sdsphinx/indexer/indexerAct.sh
2014-02-10 09:07:13 +00:00

8 lines
268 B
Bash

#!/bin/bash
PATH_BIN=/usr/local/sphinx/bin
PATH_LOG=/dbs/sphinxlog
echo "DEBUT de l'indexation ==== $(date +%H:%M:%S)" >> $PATH_LOG/indexer.log
$PATH_BIN/indexer --rotate act >> $PATH_LOG/indexer.log
echo "FIN ===== $(date +%H:%M:%S)" >> $PATH_LOG/indexer.log