Actually, there are two command line switches -blocknotify and -walletnotify which will call a command when a block is found and when transactions arrive.
Honestly, I would avoid using listsinceblock, it doesn't behave as you'd expect and it'll come back to bite you.