aboutsummaryrefslogtreecommitdiffstats
path: root/non-free/unifi/unifi_db_prune.cron
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-07-25 09:49:12 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-07-25 09:49:22 +0000
commitbd3340f2e7fa5825da7f313622faef686cda17ab (patch)
tree9a9300e350e01064d90642145a032e34d2e6d75b /non-free/unifi/unifi_db_prune.cron
parenta31b8a8b2a3ab95945396c81089bed44fd89f6f6 (diff)
downloadaports-bd3340f2e7fa5825da7f313622faef686cda17ab.tar.gz
aports-bd3340f2e7fa5825da7f313622faef686cda17ab.tar.bz2
aports-bd3340f2e7fa5825da7f313622faef686cda17ab.tar.xz
non-free/unifi: add DB cron job
(disabled by default)
Diffstat (limited to 'non-free/unifi/unifi_db_prune.cron')
-rwxr-xr-xnon-free/unifi/unifi_db_prune.cron2
1 files changed, 2 insertions, 0 deletions
diff --git a/non-free/unifi/unifi_db_prune.cron b/non-free/unifi/unifi_db_prune.cron
new file mode 100755
index 0000000000..d5338835a5
--- /dev/null
+++ b/non-free/unifi/unifi_db_prune.cron
@@ -0,0 +1,2 @@
+#!/bin/sh
+mongo --port 27117 < /etc/unifi/mongo_prune.js