command to delete the recording in vicidial

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

command to delete the recording in vicidial

Postby usmanbutt001 » Tue Aug 16, 2011 6:53 pm

hi william,

how r u hope u will fine.I want to know the command for delete the recording in vicidial /var/spool/asterisk/monitorDONE/ORIG ....how i delete the recording of wav format in vicidial 2.0.5



Thanks


Vicidial 2.0.5
asterisk 1.2.30
usmanbutt001
 
Posts: 49
Joined: Mon Dec 13, 2010 4:57 pm
Location: Pakistan

Postby williamconley » Tue Aug 16, 2011 8:16 pm

Should be in your crontab, but commented out (remove the #)

Code: Select all
### remove old recordings more than 7 days old
# 24 0 * * * /usr/bin/find /var/spool/asterisk/monitor -maxdepth 2 -type f -mtime +7 -print | xargs rm -f


will remove everything from /monitor/ over 7 days. if you want to use it to delete from a different folder ... change it.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 46 guests