aboutsummaryrefslogtreecommitdiffstats
path: root/community/roundcubemail/roundcubemail.daily
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-07-26 22:38:05 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-07-27 15:30:37 +0200
commitab4ed513aee9c87367893ac2e65b79f95f67c3c5 (patch)
tree19bd9301d9faba9cde233f52f489b40feb8b65b1 /community/roundcubemail/roundcubemail.daily
parent8cd6917e388ff56599747cf3ae30bea40ffe0fe3 (diff)
downloadaports-ab4ed513aee9c87367893ac2e65b79f95f67c3c5.tar.bz2
aports-ab4ed513aee9c87367893ac2e65b79f95f67c3c5.tar.xz
community/roundcubemail: add cron script for running daily cleandb
Diffstat (limited to 'community/roundcubemail/roundcubemail.daily')
-rw-r--r--community/roundcubemail/roundcubemail.daily3
1 files changed, 3 insertions, 0 deletions
diff --git a/community/roundcubemail/roundcubemail.daily b/community/roundcubemail/roundcubemail.daily
new file mode 100644
index 0000000000..da16dad0e7
--- /dev/null
+++ b/community/roundcubemail/roundcubemail.daily
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+su roundcube -s /bin/sh -c '/usr/share/webapps/roundcube/bin/cleandb.php' >>/var/log/roundcube/cron.log 2>&1