- Wed 14th Jun 2017, 17:57
#4690
- Appreciate my support? Feel free to buy me a coffee.
- Voipfone are offering you the chance to trial their VoIP service for free for 30 days. Sign me up!
- Tired of shared hosting? You're not alone! Grab a high performance server and get $100 in free credit. Sign me up!
The following will setup a cron job that runs daily at 1:15am, it will delete all FreePBX call recordings that are 60 days or older.
SSH into your server and at the prompt, type:
SSH into your server and at the prompt, type:
Code: Select all
Add the following line:
crontab -e
Code: Select all
Press "ctrl" + "o" to save your changes, press "ctrl" + "x" to exit nano.15 1 * * * find /var/spool/asterisk/monitor/ -name "*.wav" -mtime +60 -delete >/dev/null 2>&1
- Appreciate my support? Feel free to buy me a coffee.
- Voipfone are offering you the chance to trial their VoIP service for free for 30 days. Sign me up!
- Tired of shared hosting? You're not alone! Grab a high performance server and get $100 in free credit. Sign me up!
How did this post make you feel?