#!/bin/bash PATH_BIN=/usr/local/sphinx/bin PATH_LOG=/dbs/sphinxlog 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