On 21 June 2013 11:12, William Bell <billnb...@gmail.com> wrote: > Is there a simpler way to kick off a DIH handler update when it is running? > > Scenario: > > 1. Doing an update using DIH > 2. We need to kick off another update. Cannot since DIH is already running. > So the program inserts into a table (ID=55) > 3. Since the DIH is still running old update, we cannot fire an update to > DIH. > > We want it to run right away. If there a simple way to queue up an update > if it is still running? We wrote the query to catch all pending, so we only > need to run it again if there is 1 or more pending updates. [...]
Your best bet might be to write an external daemon that monitors the DIH import status as well as the the update queue, and launches a new DIH import as required. Regards, Gora