Best approach? Dunno there's always one better than the other...

But you'd want to use java something like...
like creating a table,java source , proc, and nesting all the os files you want to check for modification and doing a simple select command on that table)....