summaryrefslogtreecommitdiff
path: root/community-staging/courier-mta/courier-webmail-cleancache.cron.hourly
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-27 00:05:57 +0000
committerroot <root@rshg054.dnsready.net>2012-05-27 00:05:57 +0000
commit1f45ad8e3f17397e2f44e68ef9a0d860091eea9e (patch)
treec739dcbb4950142bbb793715bfd19fb2d6cc80ef /community-staging/courier-mta/courier-webmail-cleancache.cron.hourly
parenta5721a07196cf00c26ea1bfb651aab756d202ccb (diff)
Sun May 27 00:05:56 UTC 2012
Diffstat (limited to 'community-staging/courier-mta/courier-webmail-cleancache.cron.hourly')
-rw-r--r--community-staging/courier-mta/courier-webmail-cleancache.cron.hourly6
1 files changed, 6 insertions, 0 deletions
diff --git a/community-staging/courier-mta/courier-webmail-cleancache.cron.hourly b/community-staging/courier-mta/courier-webmail-cleancache.cron.hourly
new file mode 100644
index 000000000..6c541321e
--- /dev/null
+++ b/community-staging/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