[Spce-user] Cronjob ngcp-cleanup-tools not work

Danny Cappellari cappellari at connectlife.it
Fri Jan 10 07:57:23 EST 2025


Hello, I am reporting a bug on mr13.1.1 regarding the ngcp-cleanup-tools cleaning processes

The job is scheduled to delete from the database CDRs older than 90 days. The problem is that it does not start automatically CDRs are not deleted even though the process is active on the config.yml file. We need to launch it manually from the /etc/cron.d folder

cleanuptools:
 acc_cleanup_days: '90'
 archive_targetdir: /ngcp-data/backup/cdr
 binlog_days: '15'
 cdr_archive_months: '2'
 cdr_cleanup_mode: backup
 cdr_keep_days: 7
 cdr_keep_months: '2'
 compress: gzip
 debugging: 0
 delete_old_cdr_files:
 enable: yes
 max_age_days: '90'
 paths:
 - max_age_days: ~
 path: /home/jail/home/*/20[0-9][0-9][0-9][0-9]/[0-9][0-9]
 remove_empty_directories: yes
 wildcard: yes
 - max_age_days: ~
 path: /home/jail/home/cdrexport/resellers/*/20[0-9][0-9][0-9][0-9]/[0-9][0-9]
 remove_empty_directories: yes
 wildcard: yes
 - max_age_days: ~
 path: /home/jail/home/cdrexport/system/20[0-9][0-9][0-9][0-9]/[0-9][0-9]
 remove_empty_directories: yes
 wildcard: yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20250110/9cb537d5/attachment.htm>


More information about the Spce-user mailing list