Commit Graph

38 Commits

Author SHA1 Message Date
chansizzle dee7ae0943
v_xml_cdr_json changed from start_stamp to insert_date (#438)
v_xml_cdr_json.start_stamp is always null so the old records in this table were not being purged. Changed to v_xml_cdr_json.insert_date since this field is populated
2025-02-04 08:46:35 -07:00
denisent d0322070ff
fix tables not deleting and added echoing (#432)
- updated tables that were not deleting
- updated user log table IF statement variable name
- changed section comments to echo so it is easier to know what is being deleted if running manually. includes number of days
2024-08-30 16:51:14 -06:00
chansizzle 55beab1c70
Fix calling variables and consistent database connections (#426)
A couple of variables were not being called correctly (missing '$')
A couple of database connection strings were not consistent with the other connection strings
2024-05-09 08:29:41 -06:00
fusionate 1574a51e66
Maintenance Script (Debian) - Clean up empty year and/or month folders after Call Recordings are removed. 2024-05-03 12:45:28 -06:00
chansizzle 582d1ffb69
add missing log tables and new cdr tables (#423) 2024-04-20 10:27:24 -06:00
frytimo d47e023a38
fix spacing for variable assignment (#420)
fix spacing for variable assignment
2024-02-08 11:15:42 -07:00
chansizzle 031e852f64
add device logs table cleanup (#412) 2023-10-03 16:15:41 -06:00
FusionPBX 85645e3e09
Update fusionpbx-maintenance 2023-06-14 11:23:56 -06:00
FusionPBX e457af3737
Add db_name variable 2023-06-14 11:23:43 -06:00
FusionPBX d4e7851f96
Use db_port,db_host, and db_username variables
This allows connecting to remote servers
2023-06-14 11:07:45 -06:00
fusionate 80321dcf2d
Update fusionpbx-maintenance (#407)
Comment out command that purges the v_call_recordings table, as was turned into a view in FusionPBX 5.0.7+.  So, call recording data should now be managed only in the v_xml_cdr table instead.
2023-04-18 15:48:47 -06:00
FusionPBX c4ee52d8e9
Update fusionpbx-maintenance 2023-01-27 10:35:04 -07:00
FusionPBX 41137f6659
Add -f to the rm. 2022-08-08 18:17:55 -06:00
FusionPBX 590eb2415a
Add email and fax queues to the maintenance script. 2022-04-15 22:19:02 -06:00
FusionPBX 982c129998
Update fusionpbx-maintenance 2021-09-18 13:29:01 -06:00
FusionPBX 6ec67a15da
Update fusionpbx-maintenance 2021-09-18 13:27:05 -06:00
FusionPBX 51bba8e4ad
Add php_sessions and database_transactions 2021-09-18 13:17:31 -06:00
FusionPBX e97e587362
Update fusionpbx-maintenance 2021-09-18 12:39:13 -06:00
FusionPBX e81f22f4c7
Update fusionpbx-maintenance 2021-04-26 11:57:23 -06:00
FusionPBX ba0ce9543d
Update fusionpbx-backup 2020-03-11 13:53:03 -06:00
Zachary Kitchen 0119304591 Fax Logs Clean up (#265)
* Update fusionpbx-maintenance

* Update fusionpbx-maintenance

* Update fusionpbx-maintenance.sh
2019-09-02 18:02:14 -06:00
FusionPBX afdab2ef1a
Update fusionpbx-backup 2018-12-17 18:01:07 -07:00
FusionPBX 590236b18b
Update and rename fusionpbx-maintenance.sh to fusionpbx-maintenance 2018-12-11 01:20:09 -07:00
FusionPBX 9c9900651f
Update and rename fusionpbx-backup.sh to fusionpbx-backup 2018-12-11 01:19:41 -07:00
FusionPBX 62b75e5604
Update fusionpbx-backup.sh 2018-11-15 12:08:31 -06:00
FusionPBX baa88d9468
Update fusionpbx-maintenance.sh 2018-08-30 13:19:38 -06:00
FusionPBX 2d5bbd0437
Update fusionpbx-maintenance.sh 2018-08-09 19:33:35 -06:00
TylerP 163929dd7c Update fusionpbx-maintenance.sh (#128)
I am a novice but I think I found some small items here to correct.  Most notably, the path for freeswitch voicemail is not proper, at least for my packages based install.
2017-09-16 13:31:35 -05:00
FusionPBX 1a23b6822f Update fusionpbx-maintenance.sh 2017-08-18 11:21:06 -06:00
FusionPBX 6849ec9725 Update fusionpbx-maintenance.sh 2017-04-10 20:06:57 -06:00
Mark J Crane 7102bb4d0a Add a sleep and date 2017-03-30 21:12:10 +00:00
root 616d0d3c92 update the permissions 2017-03-29 21:11:22 +00:00
FusionPBX 4f3a5345ad Update fusionpbx-maintenance.sh 2017-03-29 15:08:53 -06:00
FusionPBX 6f451687c0 Update fusionpbx-maintenance.sh 2017-03-29 15:03:24 -06:00
FusionPBX ed281f8bbd Create fusionpbx-maintenance.sh 2017-03-29 14:55:42 -06:00
root 16451807dd update the file permissions 2017-03-05 06:11:42 +00:00
FusionPBX 1f4274f6fa Update fusionpbx-backup.sh
Add verbose to the database backup.
2017-01-25 08:04:43 -07:00
FusionPBX 4bf5794b2c Create fusionpbx-backup.sh 2016-10-24 20:16:42 -06:00