Added Carrier Log and Hangup Reason reports to Admin Utilities screen
Added Lead Loading File Templates Added "--daily" option to the ADMIN_archive_log_tables.pl script allowing for the call_log and vicidial_log_extended tables to be archived every night and only keep the last 24-hours of logs in the active table. Fixed Hopper call count limit bug git-svn-id: svn://192.168.202.10@1800 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -480,6 +480,9 @@ PHASE 6: ADDING CRONTAB ENTRIES FOR ASTGUICLIENT/VICIDIAL SCRIPTS
|
||||
### roll logs monthly on high-volume dialing systems
|
||||
#30 1 1 * * /usr/share/astguiclient/ADMIN_archive_log_tables.pl
|
||||
|
||||
### roll call_log and vicidial_log_extended daily on very high-volume dialing systems
|
||||
#20 1 * * * /usr/share/astguiclient/ADMIN_archive_log_tables.pl --daily
|
||||
|
||||
### remove old vicidial logs and asterisk logs more than 2 days old
|
||||
28 0 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f
|
||||
29 0 * * * /usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f
|
||||
|
||||
@@ -2467,6 +2467,9 @@ SUBPHASE 6.5: setting up astguiclient scripts for continuous running
|
||||
### roll logs monthly on high-volume dialing systems
|
||||
#30 1 1 * * /usr/share/astguiclient/ADMIN_archive_log_tables.pl
|
||||
|
||||
### roll call_log and vicidial_log_extended daily on very high-volume dialing systems
|
||||
#20 1 * * * /usr/share/astguiclient/ADMIN_archive_log_tables.pl --daily
|
||||
|
||||
### remove old vicidial logs and asterisk logs more than 2 days old
|
||||
28 0 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f
|
||||
29 0 * * * /usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f
|
||||
|
||||
Reference in New Issue
Block a user