Track created outputs from new blocks which fund the scriptPubKeys your application knows about, removing them if they are reorged out, otherwise update the confirmation count if the chain is elongated by one block.
Once an output gains 6 confirmations, notify your application to process them further.