implement a scheduler with nservice bus tha use ravendb for storing tasks.