this will now update the disk_check_exclude.txt file
before doing any deleting
This commit is contained in:
@@ -8,7 +8,7 @@ if [ "${used//%}" -ge 95 ]; then
|
|||||||
case $FULL_DISK in
|
case $FULL_DISK in
|
||||||
purge) echo "Removing oldest data"
|
purge) echo "Removing oldest data"
|
||||||
cd ${EXTRACTED}/By_Date/
|
cd ${EXTRACTED}/By_Date/
|
||||||
|
curl localhost/views.php?view=Species%20Stats &>/dev/null
|
||||||
iter=0
|
iter=0
|
||||||
for i in */*/*; do
|
for i in */*/*; do
|
||||||
if [ $iter -ge 250 ]; then
|
if [ $iter -ge 250 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user