Help on how to use Oracle Jobs to start on events when file arrives
We have Oracle DB 11.2.0.4
I want to create a scheduler job to run on event when a file arrives on operating system directory to run a .sh file to import it.
I read many documentations but nothing was clear and nothing worked.
I'm using EM Database control.
When I create a new Job, I select event and then I'm prompted to select a queue. I can see 2 queues. SCHEDULER$_EVENT_QUEUE and SCHEDULER_FILEWATCHER_Q. Can I use this filewatcher or do I need to create a new one? How to assign directory and credentials to this filewatcher? And when I select it, then it asks me for agent. There is no agent in the list.