Controle départ indexation simplifié

This commit is contained in:
Michael RICOIS 2017-03-30 11:42:30 +02:00
parent 08afaf3819
commit 290adbdc35
2 changed files with 4 additions and 3 deletions

View File

@ -50,8 +50,8 @@ if [ -n "$idx" ]; then
echo $nbC echo $nbC
elif [ -z "$nbT" ]; then elif [ -z "$nbT" ]; then
echo $nbT echo $nbT
elif [ "$nbT" -gt "$nbC" ]; then #elif [ "$nbT" -gt "$nbC" ]; then
else
# Create file to indicate indexing # Create file to indicate indexing
rm -f $PATH_LOG/dir-*.idx rm -f $PATH_LOG/dir-*.idx
echo "START $(date '+%Y-%m-%d %H:%M:%S')" >> $FILEINDEX echo "START $(date '+%Y-%m-%d %H:%M:%S')" >> $FILEINDEX

View File

@ -50,7 +50,8 @@ if [ -n "$idx" ]; then
echo $nbC echo $nbC
elif [ -z "$nbT" ]; then elif [ -z "$nbT" ]; then
echo $nbT echo $nbT
elif [ "$nbT" -gt "$nbC" ]; then #elif [ "$nbT" -gt "$nbC" ]; then
else
# Create file to indicate indexing # Create file to indicate indexing
rm -f $PATH_LOG/ent-*.idx rm -f $PATH_LOG/ent-*.idx
echo "START $(date '+%Y-%m-%d %H:%M:%S')" >> $FILEINDEX echo "START $(date '+%Y-%m-%d %H:%M:%S')" >> $FILEINDEX