added choice for update_cleanu.php

This commit is contained in:
jonnyboy
2013-01-03 12:18:39 -05:00
parent 1b37676a4b
commit ef2b18b5d5
2 changed files with 6 additions and 2 deletions
+3 -2
View File
@@ -27,7 +27,6 @@ then
[ -f $NEWZNAB_PATH/update_predb.php ] && $PHP $NEWZNAB_PATH/update_predb.php true
fi
CURRTIME=`date +%s`
#every 2 hours and during first loop
DIFF=$(($CURRTIME-$LASTOPTIMIZE2))
@@ -37,7 +36,9 @@ then
cd $TESTING_PATH
[ -f $TESTING_PATH/update_parsing.php ] && $PHP $TESTING_PATH/update_parsing.php
[ -f $TESTING_PATH/removespecial.php ] && $PHP $TESTING_PATH/removespecial.php
[ -f $TESTING_PATH/update_cleanup.php ] && $PHP $TESTING_PATH/update_cleanup.php
if [[ $CLEANUP == "true" ]]; then
[ -f $TESTING_PATH/update_cleanup.php ] && $PHP $TESTING_PATH/update_cleanup.php
fi
fi
CURRTIME=`date +%s`
+3
View File
@@ -20,6 +20,9 @@ export THREADS="true"
#Choose your database, comment the one true/false
export INNODB="true"
#Choose to run update_cleanup.php true/false
export CLEANUP="true"
#Choose which app to run in the middle right pane, of course it must be installed. Your choices are mytop and bwm-ng.
#Only have 1 uncommented at a time.