From a8866ed58bca54bdd40de2e78081a74ab64cba97 Mon Sep 17 00:00:00 2001 From: DutchShadow Date: Thu, 10 Jan 2019 18:10:57 +0100 Subject: [PATCH] Updated Mediaserver setup [advanced] (markdown) --- Mediaserver-setup-[advanced].md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Mediaserver-setup-[advanced].md b/Mediaserver-setup-[advanced].md index 03f1f14..f73a53f 100644 --- a/Mediaserver-setup-[advanced].md +++ b/Mediaserver-setup-[advanced].md @@ -63,12 +63,13 @@ When using the local download configuration, matterbridge does not clean up any If you run into issues with the amount of storage availble, then it is advised to do an automated cleanup which is to be done externally (i.e. via cron). An example cronjob and script are below: Adding the cronjob: -Use your favorite text editing tool to add the below content to /etc/crontab +Use crontab /etc/crontab to be able to add the following line. +crontab: ``` @daily /path/to/matterbridge/cleanup.sh ``` -The cronjob will now run cleanup.sh on a daily interval. The cleanup.sh needs to contain the following +The cronjob will now run cleanup.sh on a daily interval. The cleanup.sh with the following contents does a very basic clean up. cleanup.sh: ``` #!/bin/bash