[Asterisk-Users] Deleting Monitor Files After 2 Months

Mike Dent mcdent at gmail.com
Thu May 19 06:28:53 MST 2005


On 5/19/05, Steve Totaro <asterisk at totarotechnologies.com> wrote:
>  
> Does anyone know the best way to automate the deletion of monitor files
> after they age two months? 
>   
> Thanks, 
> Steve  
> _______________________________________________

Something like:

find /files/to/check/ -mtime 60 -exec rm {} \;

put this in a crontab entry maybe and run each day.


Mike



More information about the asterisk-users mailing list