BGBM BDI Projects
/
geo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bash file to delete the SLD and images (to be run in a cron)
[geo.git]
/
map-service
/
system_scripts
/
cron_to_delete_the_slds
/
delete_sld_img.sh
diff --git a/map-service/system_scripts/cron_to_delete_the_slds/delete_sld_img.sh
b/map-service/system_scripts/cron_to_delete_the_slds/delete_sld_img.sh
new file mode 100644
(file)
index 0000000..
95d2c91
--- /dev/null
+++ b/
map-service/system_scripts/cron_to_delete_the_slds/delete_sld_img.sh
@@ -0,0
+1,2
@@
+#!/bin/sh
+find /var/www/synthesys/www/v1/sld /var/www/synthesys/www/v1/img /var/www/synthesys/www/v1.4/sld /var/www/synthesys/www/v1.4/img -type f -mtime +1 -exec rm {} +