From: Andrew Timberlake Date: 2009-02-02T13:22:46+09:00 Subject: Re: Is there any Plugins for log file analysis in ruby? --001636c5a3d4fffb850461e7e718 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Sat, Jan 31, 2009 at 8:55 AM, Vikas Gholap wrote: > Hello all, > > > Problem - 1) > > I want to retrieve some info from development.log file using > plugins. > In early stage i decided to use Regular Expression to retrieve required > data but i want to use plugin for that. > So can anyone tell me which plugins are available for analyzing(reading) > "development.log" file . > > > problem - 2) > > how i execute the ruby program on unix's cron job utility.? > -- > Posted via http://www.ruby-forum.com/. > > I wrote a blog post with a quick log file parser that might help you at http://ramblingsonrails.com/a-rails-log-parser-to-show-how-your-actions-are-performing If you're working with rails, you could write a rake task and call that from cron or just run a ruby script directly like: * * * * * /usr/bin/ruby /path/to/your/ruby/script.rb -- Andrew Timberlake http://ramblingsonrails.com http://www.linkedin.com/in/andrewtimberlake "I have never let my schooling interfere with my education" - Mark Twain --001636c5a3d4fffb850461e7e718--