run tail with a pipe to your script
 

________________________________

From: Reza - Asterisk Consultant [mailto:[email protected]]
Sent: Tue 2/9/2010 1:30 AM
To: Asterisk Users Group
Subject: [on-asterisk] Real Time logger.conf to mysql.



I have an urgent need to parse log files generated through the logger.conf
into mysql.    I run a cron job to parse the logs created into mysql every
5:00 AM.  However the time has come to get this info real time.  Suggestions
& ideas are appreciated.

Thanks and regards,
Reza.

--
Toronto based VoIP / Asterisk Trainer,
I.T. Consultant and Hosted PBX Solutions Provider.
+1-647-476-2067.
http://www.linkedin.com/in/seminar


Reply via email to