Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Monitoring the directory
Loga Ganesan
3/21/2009 7:09:00 AM
Hi
Is there any pre-defined module available in ruby to monitor a given
directory.
monitoring in the sense,
* When ever a new file is created or removed inside that
directory
* When ever a new directory is created or removed inside that
directory
Likewise , is there any standard module available in ruby to monitor a
file growth
--
Posted via
http://www.ruby-...
.
2 Answers
Sean O'Halpin
3/21/2009 2:31:00 PM
0
On Sat, Mar 21, 2009 at 7:08 AM, Loga Ganesan
<loganathan_gpt@yahoo.co.in> wrote:
> Hi
> =A0 Is there any pre-defined module available in ruby to monitor a given
> directory.
>
> monitoring in the sense,
> =A0 =A0 =A0 =A0 * When ever a new file is created or removed inside that
> directory
> =A0 =A0 =A0 =A0 * When ever a new directory is created or removed inside =
that
> directory
>
> Likewise , is there any standard module available in ruby to monitor a
> file growth
$ sudo gem install directory_watcher file-tail
http://github.com/TwP/directory_watcher/t...
http://file-tail.ruby...
HTH
Sean
Loga Ganesan
3/23/2009 12:21:00 PM
0
Sean O'halpin wrote:
> On Sat, Mar 21, 2009 at 7:08 AM, Loga Ganesan
> <loganathan_gpt@yahoo.co.in> wrote:
>> Likewise , is there any standard module available in ruby to monitor a
>> file growth
>
> $ sudo gem install directory_watcher file-tail
>
>
http://github.com/TwP/directory_watcher/t...
>
>
http://file-tail.ruby...
>
> HTH
> Sean
Ya both the modules are working fine. Thank you for your reply.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Monitoring the directory
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password