summaryrefslogtreecommitdiff
path: root/community-testing/courier-mta/courier-webmail-cleancache.cron.hourly
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/courier-mta/courier-webmail-cleancache.cron.hourly')
-rw-r--r--community-testing/courier-mta/courier-webmail-cleancache.cron.hourly6
1 files changed, 6 insertions, 0 deletions
diff --git a/community-testing/courier-mta/courier-webmail-cleancache.cron.hourly b/community-testing/courier-mta/courier-webmail-cleancache.cron.hourly
new file mode 100644
index 000000000..6c541321e
--- /dev/null
+++ b/community-testing/courier-mta/courier-webmail-cleancache.cron.hourly
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Cleans the cache of the sqwebmail server
+if [ -x /usr/share/sqwebmail/cleancache.pl ]; then
+ su -c "/usr/share/sqwebmail/cleancache.pl" bin
+fi