projects
/
mixstore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
resetCacheLogs.sh
@@ -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}