resetCacheLogs now bash script. Fix typo
[mixstore.git] / resetCacheLogs.sh
diff --git a/resetCacheLogs.sh b/resetCacheLogs.sh
new file mode 100644 (file)
index 0000000..101abf2
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+#Clean cache and logs
+
+if [ -d app/cache ]; then
+       rm -rf app/cache/*
+fi
+if [ -d app/logs ]; then
+       rm -rf app/logs/*
+fi
+chmod 777 app/{cache,logs}