Gavin Hamill wrote:
> On Thursday 19 May 2005 13:51, Steve Totaro wrote:
>> Does anyone know the best way to automate the deletion of monitor
>> files after they age two months?
>
> How about ...
>
> $ find /path/to/files -ctime +60 -exec rm {}\;
>
> Cheers,
> Gavin.

Nice Gavin. I would further turn that into a shell script and pop it into
cron to run nightly.

-Matthew

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to