浏览代码

Fax Logs Clean up (#265)

* Update fusionpbx-maintenance

* Update fusionpbx-maintenance

* Update fusionpbx-maintenance.sh
Zachary Kitchen 6 年之前
父节点
当前提交
0119304591

+ 1 - 0
debian/resources/backup/fusionpbx-maintenance

@@ -34,6 +34,7 @@ else
 fi
 #delete from the database
 #psql --host=127.0.0.1 --username=fusionpbx -c "delete from v_fax_files WHERE fax_date < NOW() - INTERVAL '90 days'"
+#psql --host=127.0.0.1 --username=fusionpbx -c "delete from v_fax_logs WHERE fax_date < NOW() - INTERVAL '90 days'"
 
 #delete call recordings older than 90 days
 if [ .$switch_package = .true ]; then

+ 1 - 0
devuan/resources/backup/fusionpbx-maintenance.sh

@@ -34,6 +34,7 @@ else
 fi
 #delete from the database
 #psql --host=127.0.0.1 --username=fusionpbx -c "delete from v_fax_files WHERE fax_date < NOW() - INTERVAL '90 days'"
+#psql --host=127.0.0.1 --username=fusionpbx -c "delete from v_fax_logs WHERE fax_date < NOW() - INTERVAL '90 days'"
 
 #delete voicemail older than 90 days
 if [ .$switch_package = .true ]; then

+ 1 - 0
ubuntu/resources/backup/fusionpbx-maintenance

@@ -34,6 +34,7 @@ else
 fi
 #delete from the database
 #psql --host=127.0.0.1 --username=fusionpbx -c "delete from v_fax_files WHERE fax_date < NOW() - INTERVAL '90 days'"
+#psql --host=127.0.0.1 --username=fusionpbx -c "delete from v_fax_logs WHERE fax_date < NOW() - INTERVAL '90 days'"
 
 #delete call recordings older than 90 days
 if [ .$switch_package = .true ]; then