On Saturday 09 August 2008 01:53:49 Venefax wrote:
> I have to rotate the Master.csv every 5 minutes, on a heavy loaded system.
> I use cdr-custom. How do I force asterisk to rename the cdr file every 5
> mins? Is there a way?

Add to your crontab:

*/5 * * * * 
mv /var/spool/asterisk/cdr-custom/Master.csv 
/var/spool/asterisk/cdr-custom/Master-`date 
+%Y%m%d-%H%M`.csv
(all on one line)

-- 
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to