8 lines
286 B
Bash
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
|