Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12634

Delete Audio By size less than

$
0
0

@dpochet wrote:

Hi
My hardware information
Linux 2.6.32-642.6.2.el6.x86_64 on x86_64
Processor information Intel(R) Xeon(R) CPU E5504 @ 2.00GHz, 4 cores
4 GB RAM
Asterisk 13.17.1
FreePBX 13.0.192.9

For to help the ones that want delete the recordings from the section report -> cdr recording

something that I notice after I bought the recording modulo was that some recording show 0 in the size, so I decide delete that,s recording... this is how I did
1 Install webmin (For those that like GUI's)
2 go to the system -> Scheduled Cron Jobs
3 add a new task with the time that you want, and put this as a command
find /var/spool/asterisk/monitor/ -name "*.wav" -type f -size -20k -delete
you can edit the part -20k with size that you would like to delete

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 12634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>