Bug corrigé: argument nice mal défini
This commit is contained in:
parent
daf7e5b71f
commit
5abb1c0625
|
@ -18,5 +18,5 @@ done
|
||||||
ALTERNC_LOGS="$ALTERNC_LOC/logs"
|
ALTERNC_LOGS="$ALTERNC_LOC/logs"
|
||||||
|
|
||||||
#Compress logs older than XX days
|
#Compress logs older than XX days
|
||||||
nice 10 find "$ALTERNC_LOGS" -not -name '*.gz' -mtime +$DAYS -exec gzip '{}' \;
|
nice -n 10 find "$ALTERNC_LOGS" -not -name '*.gz' -mtime +$DAYS -exec gzip '{}' \;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue