LOL!   You are a genius!   No, we did not try named pipes !!!!!!    I
suspect the named piping method will solve our issues and overcome the basic
limitation of the traditional tail/pipe method.

Thank you Phil.

Best,
Reza.



On Tue, Feb 9, 2010 at 2:29 PM, Philip Mullis <[email protected]> wrote:

> Have you tried a named pipe :)
>
>
> Reza - Asterisk Consultant wrote:
>
>> Hello Phil:
>>
>> The tail with pipe has its limitations - which I will not get into.   Been
>> there, done that :).   There has to be other ways.
>>
>> Cheers!
>> Reza.
>>
>>
>> On Tue, Feb 9, 2010 at 8:26 AM, Philip Mullis <[email protected]<mailto:
>> [email protected]>> wrote:
>>
>>    run tail with a pipe to your script
>>
>>
>>  ------------------------------------------------------------------------
>>    *From:* Reza - Asterisk Consultant [mailto:[email protected]
>>    <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
>>
>>
>>
>>
>> --
>> Toronto based VoIP / Asterisk Trainer,
>> I.T. Consultant and Hosted PBX Solutions Provider.
>> +1-647-476-2067.
>> http://www.linkedin.com/in/seminar
>>
>>
>


-- 
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