mirror of
https://github.com/42wim/matterbridge.git
synced 2025-06-17 12:17:29 +02:00
Updated Mediaserver setup [advanced] (markdown)
parent
ecc355b03f
commit
a8866ed58b
@ -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:
|
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:
|
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
|
@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:
|
cleanup.sh:
|
||||||
```
|
```
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user