I have an Oracle PL/SQL Job which is running 4 days/week for 15 to 15 minutes. This job is checking if the source table is empty or not and if it's not empty it will insert into another table. When the job end an e-mail it's send to check result. Because business specification I must send an Excel file in attachment of that e-mail with the result set of the table. I implement a java project for parsing the table and inserting data into file.
My question is how can I create a job to run the PL/SQL job and the Java project at the same time?
ScheduledExecutorServiceandProducer-Consumer problemcan help you out in this.