There was an error while loading. Please reload this page.
1 parent 0cdd23f commit f1dc97bCopy full SHA for f1dc97b
scripts/cleaner.sh
@@ -9,12 +9,18 @@ rootCheck
9
10
wsuSourceFrameworkScript cleaner
11
12
-#fxTitle "Deleting processed file..."
13
-XML_PROCESSED_RETENTION_DAYS=20
14
-#find "${PROJECT_DIR}var/xml/processed/"* -mtime +${XML_PROCESSED_RETENTION_DAYS} -name '*' -delete
15
-#fxOK
+if [ "${APP_ENV}" == "dev" ]; then
16
17
-#fxTitle "Deleting something else..."
18
-#...
+ source /usr/local/turbolab.it/webstackup/script/mysql/maintenance.sh
+
+ service mysql stop
+ service nginx stop
19
+ apt clean
20
+ vmware-toolbox-cmd disk shrink /
21
22
+ service mysql start
23
+ service nginx start
24
+fi
25
26
source ${SCRIPT_DIR}/script_end.sh
0 commit comments