/usr/bin/mysql -u root fusionpbx -e "DELETE FROM v_xml_cdr WHERE DATE(start_stamp) <= DATE(SUBDATE(NOW(),365))";
Checking the size of folders
du -xh --max-depth=1 /
find /var/lib/freeswitch/recordings/ -name '*.tar.gz' -mindepth 0 -mtime +60 -delete
Modified on: Thu, 8 Feb, 2018 at 7:45 PM
/usr/bin/mysql -u root fusionpbx -e "DELETE FROM v_xml_cdr WHERE DATE(start_stamp) <= DATE(SUBDATE(NOW(),365))";
Checking the size of folders
du -xh --max-depth=1 /
find /var/lib/freeswitch/recordings/ -name '*.tar.gz' -mindepth 0 -mtime +60 -delete
Did you find it helpful? Yes No
Send feedback