Question about ADMIN_archive_log_tables.pl script
Posted: Wed Jun 29, 2022 10:31 am
### roll logs monthly on high-volume dialing systems
#30 1 1 * * /usr/share/astguiclient/ADMIN_archive_log_tables.pl --months=6
### 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
Hi guys I have a question about these 2 entries in the crontab, currently it is commented but when I tried to run these script it just only inserted the current data to their archive log per table.
Is is ok to add these flags --wipe-all-being-archived --wipe-closer-log so after they are inserted, they will be deleted automatically on the live tables?
#30 1 1 * * /usr/share/astguiclient/ADMIN_archive_log_tables.pl --months=6
### 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
Hi guys I have a question about these 2 entries in the crontab, currently it is commented but when I tried to run these script it just only inserted the current data to their archive log per table.
Is is ok to add these flags --wipe-all-being-archived --wipe-closer-log so after they are inserted, they will be deleted automatically on the live tables?