"Mladen Gogala" <
gogala...@gmail.com> wrote in message
news:pan.2012.10...@gmail.com...
Mladen,
I would guess that the OP has a system where he wants an Oracle job to pick
up a data file and load it into the database as soon as it appears - that's
what the file-watcher is basically for. If he uses inotify to watch for the
file he still needs to do something to load that file into the database -
which means Oracle still needs to be able to read the file (do you want
inotify to copy it somewhere else where the file watcher can watch for it)
unless he now has a looping program running externally to the database that
has to be stopped and started as the database is stopped and started etc.
etc. etc.
I don't have an answer to the original question since I haven't looked
closely at file watcher - but I'm always reluctant to add an external
component to a task that looks as if it could (or should) be handled and
synchronised internally. That's why I learned to rethink some cron jobs as
dbms_job and then dbms_scheduler became available - fewer dependencies.
--
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com/all_postings
Author: Oracle Core (Apress 2011)
http://www.apress.com/9781430239543