From 5bb9db1a0f2e48a164a154e93cae9fc1b9a27d01 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 18 Apr 2023 15:48:17 -0600 Subject: [PATCH] Update fusionpbx-maintenance --- debian/resources/backup/fusionpbx-maintenance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/resources/backup/fusionpbx-maintenance b/debian/resources/backup/fusionpbx-maintenance index cc4c029..ccd0c68 100755 --- a/debian/resources/backup/fusionpbx-maintenance +++ b/debian/resources/backup/fusionpbx-maintenance @@ -77,7 +77,7 @@ if [ .$purge_call_recordings = .true ]; then find /usr/local/freeswitch/recordings/*/archive/* -name '*.wav' -mtime +$days_keep_call_recordings -exec rm {} \; find /usr/local/freeswitch/recordings/*/archive/* -name '*.mp3' -mtime +$days_keep_call_recordings -exec rm {} \; fi - #Call recordings table uses a view. The data is from v_xml_cdr table. Changed in FusionPBX 5.0.7 and higher. The following line is useful only to older versions. + #Call recordings table uses a view. The data is from v_xml_cdr table. Changed in FusionPBX 5.0.7 and higher. The following line is useful to older versions. #psql --host=127.0.0.1 --username=fusionpbx -c "delete from v_call_recordings WHERE call_recording_date < NOW() - INTERVAL '90 days'" else echo "not purging Recordings."