sdsphinx/indexer/manual-histo.sh
2015-09-07 09:21:42 +00:00

8 lines
286 B
Bash

#!/bin/bash
PATH_LOG=/var/lib/sphinx/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