fix bigbluebutton cron job
This commit is contained in:
parent
4aa2a732e2
commit
57047b5964
@ -58,13 +58,13 @@ find /var/freeswitch/meetings/ -name "*.wav" -mtime +$history -exec rm '{}' +
|
||||
FREESWITCH_LOG=/opt/freeswitch/log/
|
||||
|
||||
if [ ! -d /opt/freeswitch/log ]; then
|
||||
FREESWITCH_VARS=/opt/freeswitch/var/log/freeswitch/
|
||||
FREESWITCH_LOG=/opt/freeswitch/var/log/freeswitch/
|
||||
fi
|
||||
|
||||
#
|
||||
# Delete FreeSWITCH log files and CDR
|
||||
#
|
||||
find $FREESWITCH_VARS -name "*.xml" -type f -mtime +$history -exec rm '{}' +
|
||||
find $FREESWITCH_LOG -name "*.xml" -type f -mtime +$history -exec rm '{}' +
|
||||
|
||||
#
|
||||
# Delete raw files of recordings without recording marks older than N days
|
||||
|
Loading…
Reference in New Issue
Block a user